diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 17 |
1 files changed, 10 insertions, 7 deletions
@@ -1,20 +1,23 @@ +COMMON_C=main.c sets.c graph.c +COMMON_H=graph.h sets.h + all : exe_ll exe_bs exe_tr exe_ll_test -exe_ll : main.c sets.h set_linked_lists.c sets.c - gcc -o exe_ll main.c set_linked_lists.c sets.c -DLINKEDLISTS -g +exe_ll : set_linked_lists.c $(COMMON_C) $(COMMON_H) + gcc -o exe_ll set_linked_lists.c $(COMMON_C) -DLINKEDLISTS -g 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 : main.c sets.h set_bitsets.c sets.c - gcc -o exe_bs main.c set_bitsets.c sets.c -DBITSETS -g +exe_bs : set_bitsets.c $(COMMON_C) $(COMMON_H) + gcc -o exe_bs set_bitsets.c $(COMMON_C) -DBITSETS -g 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 -DBITSETS -g + gcc -o exe_ll_test set_test.c set_bitsets.c sets.c graphc. -DBITSETS -g -exe_tr : main.c sets.h set_treaps.c sets.c - # gcc -o exe_tr main.c set_treaps.c sets.c -DTREAPS -g +exe_tr : set_treaps.c $(COMMON_C) $(COMMON_H) + # gcc -o exe_tr set_treaps.c $(COMMON_C) -DTREAPS -g clean : |