]> projects.mako.cc - wikiq/blobdiff - Makefile
buffer storage of text data, structure cleanup
[wikiq] / Makefile
index eec9e75f64bba39161410ec220c538e051a715d5..bf436d02fd47dfc4bdf8705f64085cc6f009e13f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,15 @@
+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
+
+gprof:
+       $(MAKE) CFLAGS=-pg wikiq
 
-.PHONY: all
+.PHONY: all gprof

Benjamin Mako Hill || Want to submit a patch?