diff options
Diffstat (limited to 'src/fseccomp/Makefile')
-rw-r--r-- | src/fseccomp/Makefile | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/src/fseccomp/Makefile b/src/fseccomp/Makefile index 9bf4c050b..1b8d0bb48 100644 --- a/src/fseccomp/Makefile +++ b/src/fseccomp/Makefile | |||
@@ -1,17 +1,10 @@ | |||
1 | .PHONY: all | ||
2 | all: fseccomp | ||
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 | fseccomp: $(OBJS) ../lib/common.o ../lib/errno.o ../lib/syscall.o $(ROOT)/config.mk | 4 | PROG = fseccomp |
11 | $(CC) $(LDFLAGS) -o $@ $(OBJS) ../lib/common.o ../lib/errno.o ../lib/syscall.o $(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 fseccomp *.gcov *.gcda *.gcno *.plist | 8 | MOD_OBJS = ../lib/common.o ../lib/errno.o ../lib/syscall.o |
15 | 9 | ||
16 | .PHONY: distclean | 10 | include $(ROOT)/src/prog.mk |
17 | distclean: clean | ||