diff options
Diffstat (limited to 'src/fnettrace-dns')
-rw-r--r-- | src/fnettrace-dns/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/fnettrace-dns/Makefile b/src/fnettrace-dns/Makefile index 38bb0eb79..0598bb2fe 100644 --- a/src/fnettrace-dns/Makefile +++ b/src/fnettrace-dns/Makefile | |||
@@ -1,19 +1,22 @@ | |||
1 | ROOT = ../.. | 1 | ROOT = ../.. |
2 | -include $(ROOT)/config.mk | 2 | -include $(ROOT)/config.mk |
3 | 3 | ||
4 | PROG = fnettrace-dns | ||
5 | TARGET = $(PROG) | ||
6 | |||
4 | .PHONY: all | 7 | .PHONY: all |
5 | all: fnettrace-dns | 8 | all: $(TARGET) |
6 | 9 | ||
7 | include $(ROOT)/src/common.mk | 10 | include $(ROOT)/src/common.mk |
8 | 11 | ||
9 | %.o : %.c $(HDRS) $(ROOT)/config.mk | 12 | %.o : %.c $(HDRS) $(ROOT)/config.mk |
10 | $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(INCLUDE) -c $< -o $@ | 13 | $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(INCLUDE) -c $< -o $@ |
11 | 14 | ||
12 | fnettrace-dns: $(OBJS) $(ROOT)/config.mk | 15 | $(PROG): $(OBJS) $(ROOT)/config.mk |
13 | $(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS) $(EXTRA_LDFLAGS) | 16 | $(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS) $(EXTRA_LDFLAGS) |
14 | 17 | ||
15 | .PHONY: clean | 18 | .PHONY: clean |
16 | clean:; rm -fr *.o fnettrace-dns *.gcov *.gcda *.gcno *.plist | 19 | clean:; rm -fr *.o $(PROG) *.gcov *.gcda *.gcno *.plist |
17 | 20 | ||
18 | .PHONY: distclean | 21 | .PHONY: distclean |
19 | distclean: clean | 22 | distclean: clean |