summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile27
1 files changed, 0 insertions, 27 deletions
diff --git a/src/Makefile b/src/Makefile
deleted file mode 100644
index a13fd64..0000000
--- a/src/Makefile
+++ /dev/null
@@ -1,27 +0,0 @@
-ARCH=$(shell uname -m)
-
-CC := g++
-SRCDIR := .
-BUILDDIR := $(ARCH)
-DEPLOYDIR := deploy
-# TARGET := $(DEPLOYDIR)/fcgi_commission_$(ARCH).fcgi
-
-SRCEXT := cpp
-SOURCES := $(shell find $(SRCDIR) -type f -name *.$(SRCEXT))
-OBJECTS := $(patsubst $(SRCDIR)/%,$(BUILDDIR)/%,$(SOURCES:.$(SRCEXT)=.o))
-CCFLAGS := -std=c++11 -g -Wall -Werror -pedantic -pedantic-errors
-LIB := -ljsoncpp -lfcgi++ -lfcgi -lcurl
-INC := -I
-
-S = "${WORKDIR}/git
-
-install:
- mkdir -p $(DESTDIR)/sbin
- cp fcgi_commission $(DESTDIR)/sbin
-
-fcgi_commission: $(OBJECTS)
- $(CC) $(CCFLAGS) $(LDFLAGS) -o $@ $(OBJECTS) /usr/sbin $(LIB)
-
-%.o: %.CC
- $(CC) $(CCFLAGS) -c
-