summaryrefslogtreecommitdiff
path: root/tools/adk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-01-08 11:22:41 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-01-08 11:22:41 +0100
commitce0255bbd2d1719f1ce3a30504c19869802c0a8b (patch)
treee30e2f7bc42d33531634ebe42ccb1fff7b225541 /tools/adk
parent635ec56736e416968f1b24422c47decd52e31eb9 (diff)
rework and cleanup top level directory creation, avoid some unnecessary rebuils
Diffstat (limited to 'tools/adk')
-rw-r--r--tools/adk/Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/tools/adk/Makefile b/tools/adk/Makefile
index a7dee6a2e..1f8c2186e 100644
--- a/tools/adk/Makefile
+++ b/tools/adk/Makefile
@@ -3,18 +3,15 @@
include $(TOPDIR)/rules.mk
-$(TOPDIR)/bin/tools:
- @mkdir -p $(TOPDIR)/bin/tools
-
CCANDLD.c= ${HOSTCC} ${HOSTCFLAGS} ${HOSTCPPFLAGS} ${HOSTLDFLAGS}
-${TOPDIR}/bin/tools/depmaker: $(TOPDIR)/bin/tools
+${TOPDIR}/bin/tools/depmaker:
${CCANDLD.c} -o $(TOPDIR)/bin/tools/depmaker depmaker.c
-${TOPDIR}/bin/tools/pkgrebuild: $(TOPDIR)/bin/tools
+${TOPDIR}/bin/tools/pkgrebuild:
${CCANDLD.c} -o $(TOPDIR)/bin/tools/pkgrebuild pkgrebuild.c strmap.c
-${TOPDIR}/bin/tools/dkgetsz: ${TOPDIR}/bin/tools
+${TOPDIR}/bin/tools/dkgetsz:
${CCANDLD.c} -Wall -o $@ dkgetsz.c
install: ${TOPDIR}/bin/tools/depmaker ${TOPDIR}/bin/tools/pkgrebuild \