diff options
author | Patrick Murphy <patrick.muprphy@multitech.com> | 2020-04-13 13:24:41 -0500 |
---|---|---|
committer | Patrick Murphy <patrick.muprphy@multitech.com> | 2020-04-13 13:24:41 -0500 |
commit | f8ba84f1366cc4df61b8f16afd8ed872db8930cc (patch) | |
tree | 3c925b228d17188ad99bb86ebf0ce6f88bf89d7c /src/Makefile | |
parent | f895e46a542d07fec1cdff621ff250b156f0069e (diff) | |
download | commissioning-f8ba84f1366cc4df61b8f16afd8ed872db8930cc.tar.gz commissioning-f8ba84f1366cc4df61b8f16afd8ed872db8930cc.tar.bz2 commissioning-f8ba84f1366cc4df61b8f16afd8ed872db8930cc.zip |
fcgi commissioning 1.0
Diffstat (limited to 'src/Makefile')
-rw-r--r-- | src/Makefile | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile new file mode 100644 index 0000000..69b2aa8 --- /dev/null +++ b/src/Makefile @@ -0,0 +1,24 @@ + +CFLAGS=-I. +DEPS = commission_func.h +OBJ = fcgicommissioning.o commission_func.o +LIBS := -ljsoncpp -lfcgi++ -lfcgi + +%.o: %.cc $(DEPS) + $(CXX) -c -o $@ $< $(CFLAGS) + +commissioning.fcgi: $(OBJ) + $(CXX) $(LDFLAGS) -o $@ $^ $(CFLAGS) $(LIBS) + +install: + install -d $(DESTDIR)/usr/bin + install -m 0755 commissioning.fcgi $(DESTDIR)/usr/bin + +.PHONY : clean + +clean: + -$(RM) $(OBJ) + + + + |