summaryrefslogtreecommitdiff
path: root/components/rtgui/utils/perfect_hash/example-C++/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'components/rtgui/utils/perfect_hash/example-C++/Makefile')
-rw-r--r--components/rtgui/utils/perfect_hash/example-C++/Makefile31
1 files changed, 0 insertions, 31 deletions
diff --git a/components/rtgui/utils/perfect_hash/example-C++/Makefile b/components/rtgui/utils/perfect_hash/example-C++/Makefile
deleted file mode 100644
index de525f5d5d..0000000000
--- a/components/rtgui/utils/perfect_hash/example-C++/Makefile
+++ /dev/null
@@ -1,31 +0,0 @@
-
-CXX = g++ -Wall
-
-
-lookup: main.o states-code.o
- $(CXX) -o $@ $^
-
-
-main.o: main.cc states-code.hh
- $(CXX) -c $<
-
-
-states-code.o: states-code.cc states-code.hh states.dat.h
- $(CXX) -c $<
-
-
-states-code.cc: states.dat states-tmpl.cc states-code.hh
- ../perfect_hash.py --splitby '|' --keycol 2 states.dat states-tmpl.cc
-
-
-states.dat.h: states.dat
- ./mk_header.py >$@
-
-
-clean:
- rm lookup *.o states.dat.h states-code.cc
-
-
-test:
- ./lookup 'NY'
- ./lookup 'QW'