COMPILETOOLS_DIR = ~/opt
CC := $(COMPILETOOLS_DIR)/mipsel-4.1.2-nopic/bin/mipsel-linux-gcc
CURR_DIR = ${shell pwd}


all: $(CC)


$(CC):
	mkdir -p $(COMPILETOOLS_DIR)/
	cd $(COMPILETOOLS_DIR);tar -xjf $(CURR_DIR)/mipsel-4.1.2-nopic.tar.bz2
	chmod 777 $(CURR_DIR)/../tools/makeplug

