Makefile
533 Bytes
TARGETS = multiplexor demultiplexor encoder decoder bit_selector
.PHONY: all clean
all: $(TARGETS)
clean:
rm -rf $(TARGETS)
multiplexor:
gcc -I../common/ ../common/auxiliar.c multiplexor.c -o multiplexor
demultiplexor:
gcc -I../common/ ../common/auxiliar.c demultiplexor.c -o demultiplexor
encoder:
gcc -I../common/ ../common/auxiliar.c encoder.c -o encoder
decoder:
gcc -I../common/ ../common/auxiliar.c decoder.c -o decoder
bit_selector:
gcc -I../common/ ../common/auxiliar.c bit_selector.c -o bit_selector -lm