summaryrefslogtreecommitdiff
path: root/examples/Makefile
diff options
context:
space:
mode:
authorepoch <epoch@hack.thebackupbox.net>2021-08-11 00:02:42 +0000
committerepoch <epoch@hack.thebackupbox.net>2021-08-11 00:02:42 +0000
commitaf16af8af42e41f470f44fcd174babda8b52dfc7 (patch)
treedfea626733a38203a4cb3bdd93c95bdcc854da02 /examples/Makefile
parent4c0e3f77d79a31d07f7af220ed752dc12424c58c (diff)
downloadlibhashtable-af16af8af42e41f470f44fcd174babda8b52dfc7.tar.gz
libhashtable-af16af8af42e41f470f44fcd174babda8b52dfc7.zip
added another example of something actually useful to meHEADmaster
Diffstat (limited to 'examples/Makefile')
-rw-r--r--examples/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/examples/Makefile b/examples/Makefile
new file mode 100644
index 0000000..508f0e6
--- /dev/null
+++ b/examples/Makefile
@@ -0,0 +1,9 @@
+PREFIX:=/usr/local
+
+all: wordtr
+
+wordtr: LDLIBS=-lhashtable -lgcc_s
+wordtr: wordtr.c
+
+install: wordtr
+ install -t $(PREFIX)/bin/ wordtr