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