diff options
author | Patrick <Patrick.Murphy@multitech.com> | 2020-04-01 13:26:27 -0500 |
---|---|---|
committer | Patrick <Patrick.Murphy@multitech.com> | 2020-04-01 13:26:27 -0500 |
commit | a1558341bcbfbcb878726f5bd4b4dd6eda14d551 (patch) | |
tree | 0625cd8ded946d6fe675256d3056a1a685068428 /src/Makefile | |
parent | 78178d911f0ede1776390b360af2ee0235e4fa53 (diff) | |
download | commissioning-a1558341bcbfbcb878726f5bd4b4dd6eda14d551.tar.gz commissioning-a1558341bcbfbcb878726f5bd4b4dd6eda14d551.tar.bz2 commissioning-a1558341bcbfbcb878726f5bd4b4dd6eda14d551.zip |
modified makefile format
Diffstat (limited to 'src/Makefile')
-rw-r--r-- | src/Makefile | 27 |
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 - |