From d7e0c1a45998a1617b295f76e0a075337c57c6f4 Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Fri, 7 Jan 2011 18:21:34 +0100 Subject: tools/adk/Makefile: little simplification using $@ Signed-off-by: Phil Sutter --- tools/adk/Makefile | 12 ++++++------ 1 file 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 -- cgit v1.2.3