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