summaryrefslogtreecommitdiff
path: root/tools/adk
diff options
context:
space:
mode:
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 \