Blame view

arith/Makefile 648 Bytes
Imanol-Mikel Barba Sabariego authored
1
TARGETS = adder substractor multiplier divider negator comparator shifter
Imanol-Mikel Barba Sabariego authored
2
3
4
5
6
7
8
9
10

.PHONY: all clean

all: $(TARGETS)

clean:
	rm -rf $(TARGETS)

adder:
Imanol-Mikel Barba Sabariego authored
11
12
	gcc -I../common/ ../common/auxiliar.c adder.c -o adder 
substractor:
Imanol-Mikel Barba Sabariego authored
13
14
15
16
17
18
19
20
	gcc -I../common/ ../common/auxiliar.c substractor.c -o substractor 
multiplier:
	gcc -I../common/ ../common/auxiliar.c multiplier.c -o multiplier 
divider:
	gcc -I../common/ ../common/auxiliar.c divider.c -o divider 
negator:
	gcc -I../common/ ../common/auxiliar.c negator.c -o negator
comparator:
Imanol-Mikel Barba Sabariego authored
21
22
23
	gcc -I../common/ ../common/auxiliar.c comparator.c -o comparator
shifter:
	gcc -I../common/ ../common/auxiliar.c shifter.c -o shifter