diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2011-01-08 11:22:41 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2011-01-08 11:22:41 +0100 |
commit | ce0255bbd2d1719f1ce3a30504c19869802c0a8b (patch) | |
tree | e30e2f7bc42d33531634ebe42ccb1fff7b225541 /tools | |
parent | 635ec56736e416968f1b24422c47decd52e31eb9 (diff) |
rework and cleanup top level directory creation, avoid some unnecessary rebuils
Diffstat (limited to 'tools')
-rw-r--r-- | tools/adk/Makefile | 9 | ||||
-rw-r--r-- | tools/cpio/Makefile | 2 | ||||
-rw-r--r-- | tools/mkcrypt/Makefile | 2 |
3 files changed, 5 insertions, 8 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 \ diff --git a/tools/cpio/Makefile b/tools/cpio/Makefile index 142f65b70..bbf138918 100644 --- a/tools/cpio/Makefile +++ b/tools/cpio/Makefile @@ -28,7 +28,7 @@ SRCS+= \ src/cpio.c ${TOPDIR}/bin/tools/cpio: ${SRCS} - @${HOSTCC} ${HOSTCFLAGS} -D_GNU_SOURCE -Isrc -o $@ $^ + ${HOSTCC} ${HOSTCFLAGS} -D_GNU_SOURCE -Isrc -o $@ $^ install: ${TOPDIR}/bin/tools/cpio diff --git a/tools/mkcrypt/Makefile b/tools/mkcrypt/Makefile index 4baf56c44..54548c39e 100644 --- a/tools/mkcrypt/Makefile +++ b/tools/mkcrypt/Makefile @@ -4,7 +4,7 @@ include $(TOPDIR)/rules.mk ${TOPDIR}/bin/tools/mkcrypt: - $(HOSTCC) -o $(TOPDIR)/bin/tools/mkcrypt mkcrypt.c + $(HOSTCC) ${HOSTCFLAGS} -o $(TOPDIR)/bin/tools/mkcrypt mkcrypt.c install: ${TOPDIR}/bin/tools/mkcrypt |