summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Sutter <phil.sutter@viprinet.com>2011-01-07 18:21:34 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-01-10 10:45:27 +0100
commitd7e0c1a45998a1617b295f76e0a075337c57c6f4 (patch)
tree4464eae8940d44ae632a694bdcdfb7598f99468a
parent718f8b955cdb6392790f07905a77d9324e50f4e0 (diff)
tools/adk/Makefile: little simplification using $@
Signed-off-by: Phil Sutter <phil.sutter@viprinet.com>
-rw-r--r--tools/adk/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/tools/adk/Makefile b/tools/adk/Makefile
index 02171c99b..ccd3868c3 100644
--- a/tools/adk/Makefile
+++ b/tools/adk/Makefile
@@ -3,14 +3,14 @@
include $(TOPDIR)/rules.mk
-$(TOPDIR)/bin/tools:
- @mkdir -p $(TOPDIR)/bin/tools
+${TOPDIR}/bin/tools:
+ mkdir -p $@
-${TOPDIR}/bin/tools/depmaker: $(TOPDIR)/bin/tools
- $(HOSTCC) -o $(TOPDIR)/bin/tools/depmaker depmaker.c
+${TOPDIR}/bin/tools/depmaker: ${TOPDIR}/bin/tools
+ $(HOSTCC) -o $@ depmaker.c
-${TOPDIR}/bin/tools/pkgrebuild: $(TOPDIR)/bin/tools
- $(HOSTCC) -o $(TOPDIR)/bin/tools/pkgrebuild pkgrebuild.c strmap.c
+${TOPDIR}/bin/tools/pkgrebuild: ${TOPDIR}/bin/tools
+ $(HOSTCC) -o $@ pkgrebuild.c strmap.c
${TOPDIR}/bin/tools/dkgetsz: ${TOPDIR}/bin/tools
${HOSTCC} -O2 -Wall -o $@ dkgetsz.c