X-Git-Url: https://projects.mako.cc/source/wikiq/blobdiff_plain/49f60e893acb91ef164f6051e9f2316c84931e00..ae96c7a9d99998ad0be4bb8aa382b92df32533a5:/Makefile diff --git a/Makefile b/Makefile index 41d75ca..fc80d1a 100644 --- a/Makefile +++ b/Makefile @@ -1,12 +1,19 @@ CXX = g++ CFLAGS = -O3 +OBJECTS = disorder.o all: wikiq -wikiq: wikiq.c - $(CXX) $(CFLAGS) wikiq.c -o wikiq -lexpat +wikiq: wikiq.c $(OBJECTS) + $(CXX) $(CFLAGS) wikiq.c $(OBJECTS) -o wikiq -lexpat + +disorder.o: disorder.c + $(CXX) $(CFLAGS) -c disorder.c clean: - rm -f wikiq + rm -f wikiq $(OBJECTS) + +gprof: + $(MAKE) CFLAGS=-pg wikiq -.PHONY: all +.PHONY: all gprof