Add the install target.

This commit is contained in:
Jonathan Naylor 2020-06-25 10:05:38 +01:00
parent 70eaed0835
commit bf419db46c
3 changed files with 9 additions and 0 deletions

View File

@ -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 *~

View File

@ -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 *~

View File

@ -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 *~