summaryrefslogtreecommitdiff
path: root/tools/adk/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-11-03 12:22:15 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-11-03 12:22:15 +0100
commit73eae5760f325a0d13f13ade2f10cc86a094a8cd (patch)
tree752b27793ca42d6b54e438834af30e66daa87070 /tools/adk/Makefile
parentce1523ceddd5865531e7b2c83b4853a570f54484 (diff)
add missing target directory, when rebuilding
Diffstat (limited to 'tools/adk/Makefile')
-rw-r--r--tools/adk/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/tools/adk/Makefile b/tools/adk/Makefile
index fd1d0e2c0..0de5b0291 100644
--- a/tools/adk/Makefile
+++ b/tools/adk/Makefile
@@ -3,13 +3,16 @@
include $(TOPDIR)/rules.mk
-${TOPDIR}/bin/tools/depmaker:
+$(TOPDIR)/bin/tools:
+ @mkdir -p $(TOPDIR)/bin/tools
+
+${TOPDIR}/bin/tools/depmaker: $(TOPDIR)/bin/tools
$(HOSTCC) -o $(TOPDIR)/bin/tools/depmaker depmaker.c
-${TOPDIR}/bin/tools/pkgrebuild:
+${TOPDIR}/bin/tools/pkgrebuild: $(TOPDIR)/bin/tools
$(HOSTCC) -o $(TOPDIR)/bin/tools/pkgrebuild pkgrebuild.c strmap.c
-${TOPDIR}/bin/tools/pt:
+${TOPDIR}/bin/tools/pt: $(TOPDIR)/bin/tools
$(HOSTCC) -o $(TOPDIR)/bin/tools/pt pt.c
install: ${TOPDIR}/bin/tools/depmaker ${TOPDIR}/bin/tools/pkgrebuild \