diff options
Diffstat (limited to 'src/fbuilder/Makefile')
-rw-r--r-- | src/fbuilder/Makefile | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/fbuilder/Makefile b/src/fbuilder/Makefile new file mode 100644 index 000000000..b769deac9 --- /dev/null +++ b/src/fbuilder/Makefile | |||
@@ -0,0 +1,17 @@ | |||
1 | .PHONY: all | ||
2 | all: fbuilder | ||
3 | |||
4 | ROOT = ../.. | ||
5 | include $(ROOT)/src/common.mk | ||
6 | |||
7 | %.o : %.c $(H_FILE_LIST) ../include/common.h ../include/syscall.h | ||
8 | $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(INCLUDE) -c $< -o $@ | ||
9 | |||
10 | fbuilder: $(OBJS) | ||
11 | $(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS) $(EXTRA_LDFLAGS) | ||
12 | |||
13 | .PHONY: clean | ||
14 | clean:; rm -fr *.o fbuilder *.gcov *.gcda *.gcno *.plist | ||
15 | |||
16 | .PHONY: distclean | ||
17 | distclean: clean | ||