X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=libcds%2Ftests%2FMakefile;h=b1ac75be05710e42b97c26d644d54cfdce832228;hb=41ca14161f53191521d3ea3967ea9184a5a2ae39;hp=e1dfb7f0c3546170fe9c204cfbf4ece21399b149;hpb=0bf9688e2615a9fc07860c5762240e4ce26ee5d3;p=SXSI%2FXMLTree.git diff --git a/libcds/tests/Makefile b/libcds/tests/Makefile index e1dfb7f..b1ac75b 100644 --- a/libcds/tests/Makefile +++ b/libcds/tests/Makefile @@ -3,32 +3,49 @@ CPP=g++ #CPPFLAGS=-g3 -Wall -I../includes/ CPPFLAGS=-O9 -Wall -DNDEBUG -I../includes/ -OBJECTS=test_naive.o test_rrr02.o test_brw32.o make_bitmap.o test_wvtree01.o test_wvtree02.o -BIN=test_naive test_rrr02 test_brw32 make_bitmap test_wvtree01 test_wvtree02 +OBJECTS=make_bitmap.o static_bitsequence_tester.o static_sequence_tester.o static_sequence_wvtree_test.o static_sequence_gmr_test.o static_sequence_gmr_chunk_test.o static_sequence_wvtree_noptrs_test.o static_bitsequence_test.o static_sequence_bs_test.o text_to_int.o +BIN=make_bitmap static_sequence_wvtree_test static_sequence_gmr_test static_sequence_gmr_chunk_test static_sequence_wvtree_noptrs_test static_bitsequence_test text_to_int static_sequence_bs_test + LIB=../lib/libcds.a %.o: %.cpp - $(CPP) $(CPPFLAGS) -c $< -o $@ + @echo " [C++] Compiling $<" + @$(CPP) $(CPPFLAGS) -c $< -o $@ all: $(OBJECTS) $(BIN) -test_naive: - $(CPP) $(CPPFLAGS) -o test_naive test_naive.o $(LIB) +static_bitsequence_test: + @echo " [C++] Building static_bitsequence_test" + @$(CPP) $(CPPFLAGS) -o static_bitsequence_test static_bitsequence_test.o static_bitsequence_tester.o $(LIB) -test_rrr02: - $(CPP) $(CPPFLAGS) -o test_rrr02 test_rrr02.o $(LIB) +make_bitmap: + @echo " [C++] Building make_bitmap" + @$(CPP) $(CPPFLAGS) -o make_bitmap make_bitmap.o $(LIB) -test_brw32: - $(CPP) $(CPPFLAGS) -o test_brw32 test_brw32.o $(LIB) +text_to_int: + @echo " [C++] Building text_to_int" + @$(CPP) $(CPPFLAGS) -o text_to_int text_to_int.o $(LIB) -make_bitmap: - $(CPP) $(CPPFLAGS) -o make_bitmap make_bitmap.o $(LIB) +static_sequence_wvtree_test: + @echo " [C++] Building static_sequence_wvtree_test" + @$(CPP) $(CPPFLAGS) -o static_sequence_wvtree_test static_sequence_wvtree_test.o static_sequence_tester.o $(LIB) + +static_sequence_gmr_test: + @echo " [C++] Building static_sequence_gmr_test" + @$(CPP) $(CPPFLAGS) -o static_sequence_gmr_test static_sequence_gmr_test.o static_sequence_tester.o $(LIB) + +static_sequence_wvtree_noptrs_test: + @echo " [C++] Building static_sequence_wvtree_noptrs_test" + @$(CPP) $(CPPFLAGS) -o static_sequence_wvtree_noptrs_test static_sequence_wvtree_noptrs_test.o static_sequence_tester.o $(LIB) -test_wvtree01: - $(CPP) $(CPPFLAGS) -o test_wvtree01 test_wvtree01.o $(LIB) +static_sequence_gmr_chunk_test: + @echo " [C++] Building static_sequence_gmr_chunk_test" + @$(CPP) $(CPPFLAGS) -o static_sequence_gmr_chunk_test static_sequence_gmr_chunk_test.o static_sequence_tester.o $(LIB) -test_wvtree02: - $(CPP) $(CPPFLAGS) -o test_wvtree02 test_wvtree02.o $(LIB) +static_sequence_bs_test: + @echo " [C++] Building static_sequence_bs_test" + @$(CPP) $(CPPFLAGS) -o static_sequence_bs_test static_sequence_bs_test.o static_sequence_tester.o $(LIB) clean: - rm -f $(OBJECTS) $(BIN) + @echo " [CLN] Cleaning object files" + @rm -f $(OBJECTS) $(BIN)