X-Git-Url: https://projects.mako.cc/source/wikiq/blobdiff_plain/ae96c7a9d99998ad0be4bb8aa382b92df32533a5..87e6add2820dd71cd79585d3ffa74f7fe46820f3:/Makefile?ds=sidebyside diff --git a/Makefile b/Makefile index fc80d1a..12459ed 100644 --- a/Makefile +++ b/Makefile @@ -1,15 +1,18 @@ CXX = g++ CFLAGS = -O3 -OBJECTS = disorder.o +OBJECTS = disorder.o md5.o all: wikiq -wikiq: wikiq.c $(OBJECTS) - $(CXX) $(CFLAGS) wikiq.c $(OBJECTS) -o wikiq -lexpat +wikiq: wikiq.cpp $(OBJECTS) + $(CXX) $(CFLAGS) -lpcrecpp -lexpat wikiq.cpp $(OBJECTS) -o wikiq -disorder.o: disorder.c +disorder.o: disorder.c disorder.h $(CXX) $(CFLAGS) -c disorder.c +md5.o: md5.c md5.h + $(CXX) $(CFLAGS) -c md5.c -lm + clean: rm -f wikiq $(OBJECTS)