-
Notifications
You must be signed in to change notification settings - Fork 33
/
Makefile
31 lines (24 loc) · 933 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#
.SUFFIXES:
#
.SUFFIXES: .cpp .o .c .h
CXXFLAGS = -std=c++11 -fexceptions -pedantic -ggdb -g3 -O2 -Wall -Woverloaded-virtual -Wsign-promo -Wold-style-cast
#-DNDEBUG
all: unit speedtesting example example2 example3 example64bits example4 example5 example6
SRCS = unit.cpp speedtesting.cpp example.cpp example2.cpp example3.cpp example4.cpp example5.cpp example6.cpp example64bits.cpp
package:
zip -9 ngramhashing_`date +%Y-%m-%d`.zip Makefile README *.h *.cpp
depend:
makedepend -- $(CXXFLAGS) -- $(SRCS)
clean:
rm -f *.o unit speedtesting example example2 example3 example4 example64bits example5 example6
HEADERS=cyclichash.h characterhash.h mersennetwister.h rabinkarphash.h generalhash.h threewisehash.h
unit.o: $(HEADERS)
speedtesting.o: $(HEADERS)
example.o: $(HEADERS)
example2.o: $(HEADERS)
example3.o: $(HEADERS)
example4.o: $(HEADERS)
example5.o: $(HEADERS)
example6.o: $(HEADERS)
example64bits.o: $(HEADERS)