diff options
Diffstat (limited to 'tools/adk/Makefile')
-rw-r--r-- | tools/adk/Makefile | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/tools/adk/Makefile b/tools/adk/Makefile index ccd3868c3..638935e5e 100644 --- a/tools/adk/Makefile +++ b/tools/adk/Makefile @@ -3,19 +3,17 @@ include $(TOPDIR)/rules.mk -${TOPDIR}/bin/tools: - mkdir -p $@ +CCANDLD.c= ${HOSTCC} ${HOSTCFLAGS} ${HOSTCPPFLAGS} ${HOSTLDFLAGS} -${TOPDIR}/bin/tools/depmaker: ${TOPDIR}/bin/tools - $(HOSTCC) -o $@ depmaker.c +${TOOLS_DIR}/depmaker: + ${CCANDLD.c} -Wall -o $@ depmaker.c -${TOPDIR}/bin/tools/pkgrebuild: ${TOPDIR}/bin/tools - $(HOSTCC) -o $@ pkgrebuild.c strmap.c +${TOOLS_DIR}/pkgrebuild: + ${CCANDLD.c} -Wall -o $@ pkgrebuild.c strmap.c -${TOPDIR}/bin/tools/dkgetsz: ${TOPDIR}/bin/tools - ${HOSTCC} -O2 -Wall -o $@ dkgetsz.c +${TOOLS_DIR}/dkgetsz: + ${CCANDLD.c} -Wall -o $@ dkgetsz.c -install: ${TOPDIR}/bin/tools/depmaker ${TOPDIR}/bin/tools/pkgrebuild \ - ${TOPDIR}/bin/tools/dkgetsz +install: ${TOOLS_DIR}/depmaker ${TOOLS_DIR}/pkgrebuild ${TOOLS_DIR}/dkgetsz include $(TOPDIR)/mk/tools.mk |