summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 \