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