summaryrefslogtreecommitdiff
path: root/bofh/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'bofh/Makefile')
-rw-r--r--bofh/Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/bofh/Makefile b/bofh/Makefile
new file mode 100644
index 0000000..80f21e8
--- /dev/null
+++ b/bofh/Makefile
@@ -0,0 +1,22 @@
+# $Id$
+
+PROG= bofh
+SRCS= bofh.c
+HEADER= excuses.h
+BINDIR= /var/www/htdocs/cgi-bin
+NOMAN=
+
+CLEANFILES= ${HEADER}
+
+${SRCS}: ${HEADER}
+
+.SUFFIXES: .h .txt
+
+.txt.h:
+ sed -e 's/"/\\"/g' $< | awk \
+ 'BEGIN { print "char *excuses[] = {"; } \
+ { print "\t\"" $$0 "\","; } \
+ END { print "};" }' > $@
+
+.include <bsd.prog.mk>
+