From 8211bf815dbcf193439fc3f0927a5e9de1bce3bc Mon Sep 17 00:00:00 2001 From: Alex AUVOLAT Date: Sun, 24 Nov 2013 21:56:36 +0100 Subject: Implemented basic algorithm for finding maximum clique... no optimizations. --- Makefile | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 269ccff..266a909 100644 --- a/Makefile +++ b/Makefile @@ -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 : -- cgit v1.2.3