]> projects.mako.cc - wikiq/blob - Makefile
added (broken, but running) diff routines for block-level diffs
[wikiq] / Makefile
1 CXX = g++
2 CFLAGS = -O3
3 OBJECTS = disorder.o md5.o
4
5 all: wikiq
6
7 wikiq: wikiq.cpp $(OBJECTS)
8         $(CXX) $(CFLAGS) wikiq.cpp $(OBJECTS) -o wikiq -lexpat
9
10 disorder.o: disorder.c disorder.h
11         $(CXX) $(CFLAGS) -c disorder.c
12
13 md5.o: md5.c md5.h
14         $(CXX) $(CFLAGS) -c md5.c -lm
15
16 clean:
17         rm -f wikiq $(OBJECTS)
18
19 gprof:
20         $(MAKE) CFLAGS=-pg wikiq
21
22 .PHONY: all gprof

Benjamin Mako Hill || Want to submit a patch?