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

Benjamin Mako Hill || Want to submit a patch?