summaryrefslogtreecommitdiff
path: root/components/rtgui/utils/perfect_hash/example-PyModule/Makefile
diff options
context:
space:
mode:
authoraozima <[email protected]>2013-02-22 13:54:15 +0800
committeraozima <[email protected]>2013-02-22 13:54:15 +0800
commit8a8f904e1b6239b895fe97a63eaad62cdef67f61 (patch)
tree893d8026dedf827fbb060da91dff504b7cb6d300 /components/rtgui/utils/perfect_hash/example-PyModule/Makefile
parent8421ecfa277eeb813e7c217955328c6329208f38 (diff)
parent4e7247e072e9b298a8811e5db9041558fb5e7c68 (diff)
Merge branch 'master' into aozima
Conflicts: bsp/stm32f107/project.uvproj
Diffstat (limited to 'components/rtgui/utils/perfect_hash/example-PyModule/Makefile')
-rw-r--r--components/rtgui/utils/perfect_hash/example-PyModule/Makefile26
1 files changed, 0 insertions, 26 deletions
diff --git a/components/rtgui/utils/perfect_hash/example-PyModule/Makefile b/components/rtgui/utils/perfect_hash/example-PyModule/Makefile
deleted file mode 100644
index 662ff78442..0000000000
--- a/components/rtgui/utils/perfect_hash/example-PyModule/Makefile
+++ /dev/null
@@ -1,26 +0,0 @@
-
-
-CC = gcc -Wall
-
-
-stations.so: stationsmodule.c stations.dat.h stations-code.h
- $(CC) -shared -fPIC -I/usr/local/include/python2.5 \
- -o stations.so stationsmodule.c
-
-
-stations.dat.h: stations.dat
- sed <$< >$@ -e 's:\([^,]*\),\([^,]*\): { "\1", "\2" },:'
-
-
-stations-code.h: stations.dat stations-tmpl.h
- ../perfect_hash.py --trails 2 $^
-
-
-clean:
- rm stations-code.h stations.dat.h stations.so
-
-
-test:
- python -c "import stations; print stations.locator('DL5BAC')"
-
-