projects
/
wikiq
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
resolved performance bug in cdata handling of revision text
[wikiq]
/
Makefile
diff --git
a/Makefile
b/Makefile
index 941977743c3728ab9f09a29470cc6d759cb94d2f..bf436d02fd47dfc4bdf8705f64085cc6f009e13f 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,9
+1,15
@@
+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
+gprof:
+ $(MAKE) CFLAGS=-pg wikiq
+
+.PHONY: all gprof
Benjamin Mako Hill
||
Want to submit a patch?