aboutsummaryrefslogtreecommitdiffstats
path: root/src/fseccomp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/fseccomp/Makefile')
-rw-r--r--src/fseccomp/Makefile19
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
2all: fseccomp
3
4ROOT = ../.. 1ROOT = ../..
5include $(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
10fseccomp: $(OBJS) ../lib/common.o ../lib/errno.o ../lib/syscall.o $(ROOT)/config.mk 4PROG = fseccomp
11 $(CC) $(LDFLAGS) -o $@ $(OBJS) ../lib/common.o ../lib/errno.o ../lib/syscall.o $(LIBS) $(EXTRA_LDFLAGS) 5TARGET = $(PROG)
12 6
13.PHONY: clean 7MOD_HDRS = ../include/common.h ../include/syscall.h
14clean:; rm -fr *.o fseccomp *.gcov *.gcda *.gcno *.plist 8MOD_OBJS = ../lib/common.o ../lib/errno.o ../lib/syscall.o
15 9
16.PHONY: distclean 10include $(ROOT)/src/prog.mk
17distclean: clean