]> git.karo-electronics.de Git - mdnsd.git/commitdiff
Added netwatch to the Makefile ipcam
authorOle Reinhardt <ole.reinhardt@kernelconcepts.de>
Sun, 28 Apr 2013 23:38:44 +0000 (01:38 +0200)
committerOle Reinhardt <ole.reinhardt@kernelconcepts.de>
Sun, 28 Apr 2013 23:38:44 +0000 (01:38 +0200)
Makefile

index 07348c9984038cd8c63485f96c793dc7d0bd62b9..735aed2132a6d10519fae202c5bc39dce88a5f8f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,13 @@
-all: mquery mhttp
+all: mhttp mquery netwatch
 
 mhttp: mhttp.c mdnsd.c 1035.c sdtxt.c xht.c
-       $(CC) -Wall -Wno-pointer-sign -g -o mhttp mhttp.c mdnsd.c 1035.c sdtxt.c xht.c
+       $(CC) -Wall -Wno-pointer-sign -g -o mhttp mhttp.c mdnsd.c 1035.c sdtxt.c xht.c netwatch.c
 
-mquery: mquery.c mdnsd.c 1035.c sdtxt.c xht.c
+mquery: mquery.c mdnsd.c 1035.c
        $(CC) -Wall -Wno-pointer-sign -g -o mquery mquery.c mdnsd.c 1035.c sdtxt.c xht.c
 
+netwatch: netwatch.c
+       $(CC) -Wall -DNETWATCH_MAIN -g -o $@ $<
+
 clean:
-       rm -f mquery mhttp
+       rm -f mquery mhttp netwatch