summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2016-03-02 06:57:09 -0800
committerKaz Kylheku <kaz@kylheku.com>2016-03-02 06:57:09 -0800
commit92241abe22d0976d115fbd4caacbf5121d5d5c04 (patch)
tree6336e561ea34d297a25413594a29f1a4359581be /Makefile
parent84ffdada07f03facc90cb7cfc6adacd19025d2c9 (diff)
downloadtamarind-92241abe22d0976d115fbd4caacbf5121d5d5c04.tar.gz
tamarind-92241abe22d0976d115fbd4caacbf5121d5d5c04.tar.bz2
tamarind-92241abe22d0976d115fbd4caacbf5121d5d5c04.zip
Tamarind.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..3785f70
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,19 @@
+CFLAGS += -O2 -DPWD=\"$(shell pwd)\"
+
+PROG := sutxr.cgi
+
+.PHONY: all
+all: $(PROG) perms
+
+$(PROG):: $(PROG).c
+
+$(PROG)::
+ chmod u+s $@
+
+.PHONY: perms
+
+perms:
+ chmod u+s main.txr
+
+clean:
+ -rm $(PROG)