1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(TOPDIR
)/rules.mk
6 TARGETS
:=adk mkcrypt cpio
7 TARGETS_INSTALL
:=$(patsubst %,%-install,$(TARGETS
))
8 TARGETS_CLEAN
:=$(patsubst %,%-clean,$(TARGETS
))
12 install: $(TARGETS_INSTALL
)
13 clean: $(TARGETS_CLEAN
)
15 %-compile
: $(TOOLS_BUILD_DIR
)
16 $(TRACE
) "tools/$(patsubst %-compile,%,$@)/compile "
17 $(MAKE
) -C
$(patsubst %-compile
,%,$@
) compile
20 $(TRACE
) "tools/$(patsubst %-install,%,$@)/install "
21 $(MAKE
) -C
$(patsubst %-install,%,$@
) install
24 $(TRACE
) "tools/$(patsubst %-clean,%,$@)/clean "
25 $(MAKE
) -C
$(patsubst %-clean,%,$@
) clean