|
1
|
TARGETS = multiplexor demultiplexor encoder decoder bit_selector
|
|
2
3
4
5
6
7
8
9
10
|
.PHONY: all clean
all: $(TARGETS)
clean:
rm -rf $(TARGETS)
multiplexor:
|
|
11
|
gcc -I../common/ ../common/auxiliar.c multiplexor.c -o multiplexor
|
|
12
13
|
demultiplexor:
|
|
14
|
gcc -I../common/ ../common/auxiliar.c demultiplexor.c -o demultiplexor
|
|
15
16
|
encoder:
|
|
17
|
gcc -I../common/ ../common/auxiliar.c encoder.c -o encoder
|
|
18
|
decoder:
|
|
19
20
21
|
gcc -I../common/ ../common/auxiliar.c decoder.c -o decoder
bit_selector:
gcc -I../common/ ../common/auxiliar.c bit_selector.c -o bit_selector
|