miniupnp/miniupnpd/pf/Makefile

25 lines
517 B
Makefile
Raw Normal View History

# $Id: Makefile,v 1.4 2012/04/18 20:45:33 nanard Exp $
2011-09-28 19:13:20 +00:00
# made for GNU Make (and BSD make)
CFLAGS = -Wall -g -ansi -DTEST
EXECUTABLES = testobsdrdr testpfpinhole
2011-09-28 19:13:20 +00:00
all: $(EXECUTABLES)
clean:
rm -f *.o $(EXECUTABLES)
testobsdrdr: testobsdrdr.o obsdrdr.o
$(CC) $(CFLAGS) -o $@ $>
testpfpinhole: testpfpinhole.o obsdrdr.o pfpinhole.o
$(CC) $(CFLAGS) -o $@ $>
2011-09-28 19:13:20 +00:00
obsdrdr.o: obsdrdr.c obsdrdr.h
pfpinhole.o: pfpinhole.c pfpinhole.h
2011-09-28 19:13:20 +00:00
testobsdrdr.o: testobsdrdr.c obsdrdr.h
testpfpinhole.o: testpfpinhole.c pfpinhole.h