From bf419db46c585b3e4a4c87eed3a67105aa477371 Mon Sep 17 00:00:00 2001 From: Jonathan Naylor Date: Thu, 25 Jun 2020 10:05:38 +0100 Subject: [PATCH] Add the install target. --- NXDNGateway/Makefile | 3 +++ NXDNParrot/Makefile | 3 +++ NXDNReflector/Makefile | 3 +++ 3 files changed, 9 insertions(+) diff --git a/NXDNGateway/Makefile b/NXDNGateway/Makefile index 08a1943..df938eb 100644 --- a/NXDNGateway/Makefile +++ b/NXDNGateway/Makefile @@ -22,6 +22,9 @@ NXDNGateway: $(OBJECTS) %.o: %.cpp $(CXX) $(CFLAGS) -c -o $@ $< +install: + install -m 755 NXDNGateway /usr/local/bin/ + clean: $(RM) NXDNGateway *.o *.d *.bak *~ diff --git a/NXDNParrot/Makefile b/NXDNParrot/Makefile index 9a4b426..4a03a5f 100644 --- a/NXDNParrot/Makefile +++ b/NXDNParrot/Makefile @@ -14,5 +14,8 @@ NXDNParrot: $(OBJECTS) %.o: %.cpp $(CXX) $(CFLAGS) -c -o $@ $< +install: + install -m 755 NXDNParrot /usr/local/bin/ + clean: $(RM) NXDNParrot *.o *.d *.bak *~ diff --git a/NXDNReflector/Makefile b/NXDNReflector/Makefile index 43c534b..21567be 100644 --- a/NXDNReflector/Makefile +++ b/NXDNReflector/Makefile @@ -14,6 +14,9 @@ NXDNReflector: $(OBJECTS) %.o: %.cpp $(CXX) $(CFLAGS) -c -o $@ $< +install: + install -m 755 NXDNReflector /usr/local/bin/ + clean: $(RM) NXDNReflector *.o *.d *.bak *~ \ No newline at end of file