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 mkimage
8 TARGETS_INSTALL
:=$(patsubst %,%-install,$(TARGETS
))
9 TARGETS_CLEAN
:=$(patsubst %,%-clean,$(TARGETS
))
13 install: $(TARGETS_INSTALL
)
14 clean: $(TARGETS_CLEAN
)
16 %-compile
: $(TOOLS_BUILD_DIR
)
17 $(TRACE
) "tools/$(patsubst %-compile,%,$@)/compile "
18 $(MAKE
) -C
$(patsubst %-compile
,%,$@
) compile
$(MAKE_TRACE
)
21 $(TRACE
) "tools/$(patsubst %-install,%,$@)/install "
22 $(MAKE
) -C
$(patsubst %-install,%,$@
) install $(MAKE_TRACE
)
25 $(TRACE
) "tools/$(patsubst %-clean,%,$@)/clean "
26 $(MAKE
) -C
$(patsubst %-clean,%,$@
) clean