CFLAGS= -Wall -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith \
-Wwrite-strings -g -D_GNU_SOURCE
-all: service
+etc= /etc
+prefix= /usr/local
+libipif= $(prefix)/lib/userv-ipif
+etcipif= $(etc)/userv/ipif
+
+TARGETS= service
+
+all: $(TARGETS)
+
+install: all
+ mkdir -p $(libipif) $(etcipif)
+ cp service alloc.pl $(libdir)/.
+ touch $(etcipif)/networks