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 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?