]> projects.mako.cc - wikiq/blobdiff - Makefile
added (broken, but running) diff routines for block-level diffs
[wikiq] / Makefile
index fc80d1a7864e3d3bc2a9fa4338e69962feea5b37..e1d898a740de586ff5b22c5ae9cee7d56805d17e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,15 +1,18 @@
 CXX = g++
 CFLAGS = -O3
 CXX = g++
 CFLAGS = -O3
-OBJECTS = disorder.o
+OBJECTS = disorder.o md5.o
 
 all: wikiq
 
 
 all: wikiq
 
-wikiq: wikiq.c $(OBJECTS)
-       $(CXX) $(CFLAGS) wikiq.c $(OBJECTS) -o wikiq -lexpat
+wikiq: wikiq.cpp $(OBJECTS)
+       $(CXX) $(CFLAGS) wikiq.cpp $(OBJECTS) -o wikiq -lexpat
 
 
-disorder.o: disorder.c
+disorder.o: disorder.c disorder.h
        $(CXX) $(CFLAGS) -c disorder.c
 
        $(CXX) $(CFLAGS) -c disorder.c
 
+md5.o: md5.c md5.h
+       $(CXX) $(CFLAGS) -c md5.c -lm
+
 clean:
        rm -f wikiq $(OBJECTS)
 
 clean:
        rm -f wikiq $(OBJECTS)
 

Benjamin Mako Hill || Want to submit a patch?