blob: 12e64b141fe5ea5edc72b186329148c1afcd6dae (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
COMMON_C=main.c sets.c graph.c algos.c
COMMON_H=graph.h sets.h algos.h
all : exe_ll exe_bs exe_ll_test
exe_ll : set_linked_lists.c $(COMMON_C) $(COMMON_H)
gcc -o exe_ll set_linked_lists.c $(COMMON_C) -DLINKEDLISTS -g -O3
exe_ll_test : set_test.c sets.h set_linked_lists.c sets.c
gcc -o exe_ll_test set_test.c set_linked_lists.c sets.c -DLINKEDLISTS -g
exe_bs : set_bitsets.c $(COMMON_C) $(COMMON_H)
gcc -o exe_bs set_bitsets.c $(COMMON_C) -DBITSETS -g -O3
exe_bs_test : set_test.c sets.h set_bitsets.c sets.c
gcc -o exe_ll_test set_test.c set_bitsets.c sets.c graphc. -DBITSETS -g
clean :
rm exe_ll exe_ll_test exe_bs
|