diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 17 |
1 files changed, 14 insertions, 3 deletions
@@ -1,5 +1,16 @@ -udp-broadcast-relay: main.c - gcc -g main.c -o udp-broadcast-relay +udp-broadcast-relay: udp-broadcast-relay.c + gcc -O0 udp-broadcast-relay.c -o udp-broadcast-relay clean: - rm -f udp-broadcast-relay + -$(RM) *.o + -$(RM) udp-broadcast-relay + -$(RM) build-stamp + -$(RM) -rf debian/udp-broadcast-relay + +install: + install -d $(DESTDIR)/usr/sbin + install -d $(DESTDIR)/lib/systemd/system + install -d $(DESTDIR)/etc/default + install -m 0755 udp-broadcast-relay $(DESTDIR)/usr/sbin + install -m 0644 udp-broadcast-relay.service $(DESTDIR)/lib/systemd/system + install -m 0644 udp-broadcast-relay.default $(DESTDIR)/etc/default/udp-broadcast-relay |