miniupnp/miniupnpd/pf/Makefile

28 lines
596 B
Makefile
Raw Permalink Normal View History

2020-05-21 00:21:49 +00:00
# $Id: Makefile,v 1.7 2020/05/21 00:10:56 nanard Exp $
2011-09-28 19:13:20 +00:00
# made for GNU Make (and BSD make)
CFLAGS = -Wall -g -DTEST
CFLAGS += -Wextra
2020-05-21 00:21:49 +00:00
CFLAGS += -I..
EXECUTABLES = testobsdrdr testpfpinhole
2011-09-28 19:13:20 +00:00
all: $(EXECUTABLES)
clean:
rm -f *.o $(EXECUTABLES)
2020-05-21 00:21:49 +00:00
testobsdrdr: testobsdrdr.o obsdrdr.o getifaddr.o
2011-09-28 19:13:20 +00:00
$(CC) $(CFLAGS) -o $@ $>
2020-05-21 00:21:49 +00:00
testpfpinhole: testpfpinhole.o obsdrdr.o pfpinhole.o getifaddr.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
2020-05-21 00:21:49 +00:00
getifaddr.o: ../getifaddr.c