summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
new file mode 100644
index 0000000..94e823d
--- /dev/null
+++ b/src/Makefile
@@ -0,0 +1,19 @@
+ARCH=$(shell uname -m)
+
+CC := g++
+SRCDIR := .
+BUILDDIR := $(ARCH)
+DEPLOYDIR := .
+# DEPLOYDIR := deploy
+# TARGET := $(DEPLOYDIR)/commissioning_$(ARCH).fcgi
+
+CCFLAGS := -std=c++11 -g -Wall -Werror -pedantic -pedantic-errors
+LIB := -ljsoncpp -lfcgi++ -lfcgi
+INC := -I ../include
+
+fcgi_commission.fcgi: fcgi_commission.o
+ $(CC) -o fcgi_commission.fcgi fcgi_commission.o
+
+clean:
+ @echo " $(RM) fcgi_commission.fcgi
+