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.h
$(CXX) $(CFLAGS) -c disorder.c