Makefile 443 Bytes
TARGETS = multiplexor demultiplexor encoder decoder

.PHONY: all clean

all: $(TARGETS)

clean:
	rm -rf $(TARGETS)

multiplexor:
	gcc -I../common/ ../common/auxiliar.c multiplexor.c -o multiplexor -lm

demultiplexor:
		gcc -I../common/ ../common/auxiliar.c demultiplexor.c -o demultiplexor -lm

encoder:
		gcc -I../common/ ../common/auxiliar.c encoder.c -o encoder -lm
decoder:
		gcc -I../common/ ../common/auxiliar.c decoder.c -o decoder -lm