From 1237f1a2ca749944462679d90473f709de1aa204 Mon Sep 17 00:00:00 2001 From: Stefan `Sec` Zehl Date: Sun, 3 Jun 2012 11:35:44 +0200 Subject: [PATCH] Fix makefile (dependecies) --- tools/reader/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/reader/Makefile b/tools/reader/Makefile index 6b5ed87..a5281de 100644 --- a/tools/reader/Makefile +++ b/tools/reader/Makefile @@ -13,7 +13,7 @@ CFLAGS = -Wall -O2 EXE = obreader FILES = obreader.c -$(ARCH)-$(EXE): +$(ARCH)-$(EXE): $(FILES) $(CC) $(CFLAGS) -o $@ $(FILES) $(STRIP) $@ @@ -22,9 +22,10 @@ $(ARCH)-$(EXE): # # for setup instructions. WRT=~/r0ket/openwrt/trunk/staging_dir +STAGING_DIR=$(WRT)/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2 mips: - STAGING_DIR=$(WRT)/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2 \ + STAGING_DIR=$(STAGING_DIR) \ PATH=${PATH}:$(STAGING_DIR)/bin \ $(MAKE) TUPLE=mips-openwrt-linux