summaryrefslogtreecommitdiffhomepage
path: root/src/Makefile
diff options
context:
space:
mode:
authorRoland Stigge <stigge@antcom.de>2018-01-05 21:03:31 +0100
committerRoland Stigge <stigge@antcom.de>2018-01-05 21:03:31 +0100
commitf939d19e9bcb0cc0cf048aa0c8037f1f9c5a8c8b (patch)
treec656bd35facfbf57959a9e5c3a6fcad0cdd6df0b /src/Makefile
Initial commit, basic working webbox (WIP), see TODO
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
new file mode 100644
index 0000000..e960f67
--- /dev/null
+++ b/src/Makefile
@@ -0,0 +1,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