blob: e960f67121ce5b9219cedcc5de7ac649e08f85bc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
TARGET=query
CPPFLAGS=-Wall -O2 -fPIC -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore
LDFLAGS=-Wall -O2 -fPIC -lstdc++ -lfcgi -lQt5Core
OBJS=webbox.o
all: $(TARGET)
$(TARGET): $(OBJS)
gcc $(LDFLAGS) -o $@ $^
%.o: %.cpp
gcc $(CPPFLAGS) -c -o $@ $<
clean:
-rm -rf $(TARGET) $(OBJS)
.PHONY: clean all
|