Skip to content

Commit

Permalink
Adpated Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
simongog committed Aug 27, 2013
1 parent c84a1a8 commit 81441de
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions tutorial/document_listing/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
include ../../Make.helper
CXX_FLAGS=$(MY_CXX_FLAGS) $(MY_CXX_OPT_FLAGS) -I$(INC_DIR) -L$(LIB_DIR)
CCLIB=-lsdsl -ldivsufsort -ldivsufsort64
EXECS=doc_list_index_sada.x doc_list_index_greedy.x doc_list_index_qprobing.x
EXECS=doc_list_index_sada.x

all: $(EXECS)

Expand All @@ -14,20 +14,6 @@ doc_list_index_sada.x: doc_list_index.cpp doc_list_index_sada.hpp
-DIDX_SUF=".sada-idx" \
-o $@ $< $(CCLIB)

doc_list_index_greedy.x: doc_list_index.cpp doc_list_index_sada.hpp
$(MY_CXX) \
$(CXX_FLAGS)\
-DIDX_TYPE="doc_list_index_greedy<>" \
-DIDX_SUF=".greedy-idx" \
-o $@ $< $(CCLIB)

doc_list_index_qprobing.x: doc_list_index.cpp doc_list_index_sada.hpp
$(MY_CXX) \
$(CXX_FLAGS)\
-DIDX_TYPE="doc_list_index_qprobing<>" \
-DIDX_SUF=".greedy-idx" \
-o $@ $< $(CCLIB)

clean:
rm -f $(EXECS)
rm -rf *.dSYM
Expand Down

0 comments on commit 81441de

Please sign in to comment.