--- embedaddon/miniupnpd/bsd/Makefile 2012/02/21 23:16:02 1.1.1.1 +++ embedaddon/miniupnpd/bsd/Makefile 2012/05/29 12:55:57 1.1.1.2 @@ -1,7 +1,7 @@ -# $Id: Makefile,v 1.1.1.1 2012/02/21 23:16:02 misho Exp $ +# $Id: Makefile,v 1.1.1.2 2012/05/29 12:55:57 misho Exp $ # made for GNU Make CFLAGS = -Wall -g -EXECUTABLES = testgetifstats +EXECUTABLES = testgetifstats testifacewatcher all: $(EXECUTABLES) @@ -10,5 +10,11 @@ clean: testobsdrdr.o: testobsdrdr.c obsdrdr.h -testgetifstats: testgetifstats.o getifstats.o -lkvm +testgetifstats: testgetifstats.o getifstats.o + $(CC) $(CFLAGS) -o $@ $> -lkvm + +testifacewatcher: testifacewatcher.o ifacewatcher.o upnputils.o + $(CC) $(CFLAGS) -o $@ $> + +upnputils.o: ../upnputils.c