summaryrefslogtreecommitdiff
path: root/tools/adk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-01-26 13:40:40 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-01-26 13:40:40 +0100
commitb44cf2a9ca220035a29b282c98d6367d7cab66c0 (patch)
treed291b37138c4a81fd7b35ef38778421e3ba77e89 /tools/adk
parent83687368fdcf0004e377584b3b3e73d4f991e27e (diff)
another HOSTCC elimination, thx hudson
Diffstat (limited to 'tools/adk')
-rw-r--r--tools/adk/Makefile16
1 files changed, 7 insertions, 9 deletions
diff --git a/tools/adk/Makefile b/tools/adk/Makefile
index 638935e5e..e3c9aceed 100644
--- a/tools/adk/Makefile
+++ b/tools/adk/Makefile
@@ -3,17 +3,15 @@
include $(TOPDIR)/rules.mk
-CCANDLD.c= ${HOSTCC} ${HOSTCFLAGS} ${HOSTCPPFLAGS} ${HOSTLDFLAGS}
-
-${TOOLS_DIR}/depmaker:
- ${CCANDLD.c} -Wall -o $@ depmaker.c
+install: ${TOOLS_DIR}/depmaker ${TOOLS_DIR}/pkgrebuild ${TOOLS_DIR}/dkgetsz
-${TOOLS_DIR}/pkgrebuild:
- ${CCANDLD.c} -Wall -o $@ pkgrebuild.c strmap.c
+${TOOLS_DIR}/depmaker: depmaker.c
+ ${CC_FOR_BUILD} ${FLAGS_FOR_BUILD} -o $@ depmaker.c
-${TOOLS_DIR}/dkgetsz:
- ${CCANDLD.c} -Wall -o $@ dkgetsz.c
+${TOOLS_DIR}/pkgrebuild: pkgrebuild.c strmap.c
+ ${CC_FOR_BUILD} ${FLAGS_FOR_BUILD} -o $@ pkgrebuild.c strmap.c
-install: ${TOOLS_DIR}/depmaker ${TOOLS_DIR}/pkgrebuild ${TOOLS_DIR}/dkgetsz
+${TOOLS_DIR}/dkgetsz: dkgetsz.c
+ ${CC_FOR_BUILD} ${FLAGS_FOR_BUILD} -o $@ dkgetsz.c
include $(TOPDIR)/mk/tools.mk