aboutsummaryrefslogtreecommitdiffstats
path: root/src/ftee/Makefile
blob: 05c71d961c625e7a35f146d9752f4b5d32f04ad4 (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: ftee

include $(ROOT)/src/common.mk

%.o : %.c $(HDRS) $(ROOT)/config.mk
	$(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(INCLUDE) -c $< -o $@

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

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

.PHONY: distclean
distclean: clean