1
TARGETS = adder substractor multiplier divider negator comparator
2 3 4 5 6 7 8 9 10
.PHONY: all clean all: $(TARGETS) clean: rm -rf $(TARGETS) adder:
11 12
gcc -I../common/ ../common/auxiliar.c adder.c -o adder substractor:
13 14 15 16 17 18 19 20 21
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: gcc -I../common/ ../common/auxiliar.c comparator.c -o comparator