PREFIX := /usr install: naxalnet install -d $(DESTDIR)$(PREFIX)/bin install -d $(DESTDIR)$(PREFIX)/lib/systemd/system/ install -m644 naxalnet.service $(DESTDIR)$(PREFIX)/lib/systemd/system/ install naxalnet $(DESTDIR)$(PREFIX)/bin/ install -d $(DESTDIR)$(PREFIX)/share/naxalnet/networkd install -m644 systemd-networkd/* $(DESTDIR)$(PREFIX)/share/naxalnet/networkd testdeps: @for i in networkctl systemctl python3; do \ echo "Checking for $$i"; \ which $$i > /dev/null && echo " $$i found" || \ (echo " $$i not found"; exit 1); \ done