Add the install target.

This commit is contained in:
Jonathan Naylor
2020-06-25 10:00:57 +01:00
parent 8e75b2453b
commit 6e89e4922f

View File

@@ -26,6 +26,9 @@ FORCE:
clean:
$(RM) DMRGateway *.o *.d *.bak *~ GitVersion.h
install:
install -m 755 DMRGateway /usr/local/bin/
# Export the current git version if the index file exists, else 000...
GitVersion.h:
ifneq ("$(wildcard .git/index)","")