From f939d19e9bcb0cc0cf048aa0c8037f1f9c5a8c8b Mon Sep 17 00:00:00 2001 From: Roland Stigge Date: Fri, 5 Jan 2018 21:03:31 +0100 Subject: Initial commit, basic working webbox (WIP), see TODO --- src/Makefile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/Makefile (limited to 'src/Makefile') 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 -- cgit v1.2.3