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