1# $Id: Makefile,v 1.2 2011/05/20 09:34:25 nanard Exp $ 2# made for GNU Make 3CFLAGS = -Wall -g 4EXECUTABLES = testgetifstats testifacewatcher 5 6all: $(EXECUTABLES) 7 8clean: 9 rm -f *.o $(EXECUTABLES) 10 11testobsdrdr.o: testobsdrdr.c obsdrdr.h 12 13testgetifstats: testgetifstats.o getifstats.o 14 $(CC) $(CFLAGS) -o $@ $> -lkvm 15 16testifacewatcher: testifacewatcher.o ifacewatcher.o upnputils.o 17 $(CC) $(CFLAGS) -o $@ $> 18 19upnputils.o: ../upnputils.c 20 21