aboutsummaryrefslogtreecommitdiffstats
path: root/src/profstats/Makefile
blob: e7c30218619f1dca655bd919fcb8a4ecdd991ef6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
ROOT = ../..
-include $(ROOT)/config.mk

.PHONY: all
all: profstats

include $(ROOT)/src/common.mk

%.o : %.c $(H_FILE_LIST) ../include/common.h $(ROOT)/config.mk
	$(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(INCLUDE) -c $< -o $@

profstats: $(OBJS) $(ROOT)/config.mk
	$(CC)  $(LDFLAGS) -o $@ $(OBJS) $(LIBS) $(EXTRA_LDFLAGS)

.PHONY: clean
clean:; rm -fr *.o profstats *.gcov *.gcda *.gcno *.plist

.PHONY: distclean
distclean: clean