add fastcgi
[openadk.git] / tools / Makefile
blobe4e0b249bba83bf5e54704a321b9c5cb9fb77236
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))
11 all: install
12 compile:
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)
20 %-install:
21 $(TRACE) "tools/$(patsubst %-install,%,$@)/install "
22 $(MAKE) -C $(patsubst %-install,%,$@) install $(MAKE_TRACE)
24 %-clean:
25 $(TRACE) "tools/$(patsubst %-clean,%,$@)/clean "
26 $(MAKE) -C $(patsubst %-clean,%,$@) clean