Makefile 571 Bytes
TARGETS = adder substractor multiplier divider negator comparator

.PHONY: all clean

all: $(TARGETS)

clean:
	rm -rf $(TARGETS)

adder:
	gcc -I../common/ ../common/auxiliar.c adder.c -o adder 
substractor:
	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