aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index b3324ef6..e16e7b37 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,6 +1,6 @@
CFLAGS+=-Wall
-PROGS=usernetctl doexec netreport testd usleep
+PROGS=usernetctl doexec netreport testd usleep ipcalc
all: $(PROGS)
@@ -13,6 +13,7 @@ install:
install -o 0 -g 0 -s -m 755 usleep $(ROOT)/bin/usleep
install -o 0 -g 0 -s -m 4755 usernetctl $(ROOT)/usr/sbin/usernetctl
install -o 0 -g 0 -s -m 2755 netreport $(ROOT)/sbin/netreport
+ install -o 0 -g 0 -s -m 2755 ipcalc $(ROOT)/sbin/ipcalc
install -m 644 doexec.1 $(ROOT)/usr/man/man1
install -m 644 netreport.1 $(ROOT)/usr/man/man1
install -m 644 usleep.1 $(ROOT)/usr/man/man1
@@ -24,3 +25,5 @@ install-test:
install -o 0 -g 0 -s -m 755 testd $(ROOT)/usr/sbin/testd
install -o 0 -g 0 -m 755 testdinit $(ROOT)/etc/rc.d/init.d/testd
+ipcalc: ipcalc.o
+ $(CC) $(LDFLAGS) -o $@ $< -lpopt