]> projects.mako.cc - wikiq/blobdiff - Makefile
moved from gcc to g++
[wikiq] / Makefile
index eec9e75f64bba39161410ec220c538e051a715d5..41d75cae0a174b9d75814b5133c97bd8d62611f5 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,12 @@
+CXX = g++
+CFLAGS = -O3
+
 all: wikiq
 
 wikiq: wikiq.c
-       gcc wikiq.c -o wikiq -lexpat
+       $(CXX) $(CFLAGS) wikiq.c -o wikiq -lexpat
+
+clean:
+       rm -f wikiq
 
 .PHONY: all

Benjamin Mako Hill || Want to submit a patch?