X-Git-Url: https://projects.mako.cc/source/wikiq/blobdiff_plain/315071f4419c2e34fd367e09d24818807353c91e..86aeece4b3a7ffa495b4c09441cffeec8e579f34:/Makefile diff --git a/Makefile b/Makefile index 9419777..bf436d0 100644 --- 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