summaryrefslogblamecommitdiff
path: root/Makefile
blob: 2f7927c225aa466b0a64e10da202f04af1f56c09 (plain) (tree)
1
2
3
4
5
6
7
8
9
10


                              
                                      
 
                                                        
                                                                         
 

                                                                                
 

                                                            

                                                    
                                                                               
 
 

                                                            
 




                               
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 : set_linked_lists.c	$(COMMON_C) $(COMMON_H) 
	gcc -o exe_ll set_linked_lists.c $(COMMON_C) -DLINKEDLISTS -g -O2

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

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


exe_tr : set_treaps.c $(COMMON_C) $(COMMON_H)
	# gcc -o exe_tr set_treaps.c $(COMMON_C) -DTREAPS -g


clean : 
	rm exe_ll exe_tr exe_bs