summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAlex AUVOLAT <alex.auvolat@ens.fr>2013-11-24 21:56:36 +0100
committerAlex AUVOLAT <alex.auvolat@ens.fr>2013-11-24 21:56:36 +0100
commit8211bf815dbcf193439fc3f0927a5e9de1bce3bc (patch)
tree8e5fa976fb43cfb38efc2a9bd2fa8d111b250a27 /Makefile
parent7dc7d76a225a0eeac49689058bcb67c5fe328c33 (diff)
downloadAlgoProg-Projet-8211bf815dbcf193439fc3f0927a5e9de1bce3bc.tar.gz
AlgoProg-Projet-8211bf815dbcf193439fc3f0927a5e9de1bce3bc.zip
Implemented basic algorithm for finding maximum clique... no optimizations.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile17
1 files changed, 10 insertions, 7 deletions
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 :