Makefile
733 Bytes
TARGETS = adder substractor multiplier divider negator comparator shifter bit_adder
.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
shifter:
gcc -I../common/ ../common/auxiliar.c shifter.c -o shifter
bit_adder:
gcc -I../common/ ../common/auxiliar.c bit_adder.c -o bit_adder