Blame view

arith/Makefile 733 Bytes
Imanol-Mikel Barba Sabariego authored
1
TARGETS = adder substractor multiplier divider negator comparator shifter bit_adder
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
	gcc -I../common/ ../common/auxiliar.c comparator.c -o comparator
shifter:
Imanol-Mikel Barba Sabariego authored
23
24
25
	gcc -I../common/ ../common/auxiliar.c shifter.c -o shifter
bit_adder:
	gcc -I../common/ ../common/auxiliar.c bit_adder.c -o bit_adder