]> mj.ucw.cz Git - nwho.git/blobdiff - Makefile
Let die() be shared between nwho and nwhod
[nwho.git] / Makefile
index 4ad4601315a12d452e373c6bb29f6dde384ba96a..bafcc26d2515b9efa0ad785456e76d7db800ab19 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -8,10 +8,11 @@ REL=nwho-$(VERSION)
 
 all: nwhod nwho
 
-nwhod: nwhod.o
+nwhod: nwhod.o util.o
 nwhod.o: nwhod.c nwho.h
+util.o: util.c nwho.h
 
-nwho: nwho.o
+nwho: nwho.o util.o
 nwho.o: nwho.c nwho.h
 
 clean: