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