diff options
Diffstat (limited to 'tools/Makefile')
-rw-r--r-- | tools/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tools/Makefile b/tools/Makefile index 0d8a0ab..79c7d25 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -30,6 +30,7 @@ include ../macros.mk # include $(TOPDIR)/configure.mk +include $(TOPDIR)/install.mk LDFLAGS := ../src/libseccomp.a @@ -38,13 +39,15 @@ TOOLS = scmp_bpf_disasm \ scmp_sys_resolver \ scmp_arch_detect +TOOLS_INSTALL = scmp_sys_resolver + DEPS = $(TOOLS:%=%.d) # # targets # -.PHONY: clean +.PHONY: install clean all: $(TOOLS) @@ -56,5 +59,8 @@ $(DEPS): $(TOOLS): $(COMPILE_EXEC) +install: $(TOOLS_INSTALL) + $(INSTALL_BIN_MACRO) + clean: $(RM) $(DEPS) $(TOOLS) |