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