aboutsummaryrefslogtreecommitdiffstats
path: root/src/fsec-print/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/fsec-print/Makefile')
-rw-r--r--src/fsec-print/Makefile17
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..b076c0588
--- /dev/null
+++ b/src/fsec-print/Makefile
@@ -0,0 +1,17 @@
1.PHONY: all
2all: fsec-print
3
4ROOT = ../..
5include $(ROOT)/src/common.mk
6
7%.o : %.c $(H_FILE_LIST) ../include/common.h ../include/seccomp.h ../include/syscall.h $(ROOT)/config.mk
8 $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(INCLUDE) -c $< -o $@
9
10fsec-print: $(OBJS) ../lib/common.o ../lib/libnetlink.o ../lib/errno.o ../lib/syscall.o $(ROOT)/config.mk
11 $(CC) $(LDFLAGS) -o $@ $(OBJS) ../lib/common.o ../lib/errno.o ../lib/syscall.o $(LIBS) $(EXTRA_LDFLAGS)
12
13.PHONY: clean
14clean:; rm -fr *.o fsec-print *.gcov *.gcda *.gcno *.plist
15
16.PHONY: distclean
17distclean: clean