Was trying to setup an automated download of the library (for which I can base other project automated downloads off of) but keep getting unexpected end of file error, no matter how many times I check the result is the same as the example I found online, anyone understand what I'm doing wrong here:
Code:BMP_PRJ=hamsternz/my_bmp BMP_DIR=my_bmp RNG_LIB_DIRS:=$(BMP_DIR) RNG_LIBS=-l testU01 -l my_bmp is_dir=if [ -d "$1" ] && $2 no_dir=if [ ! -d "$1" ] && $2 mkdir=$(call no_dir,$1,mkdir "$1") clone=$(call no_dir,cloned/$1,git --git-dir cloned clone $1 $2) pull=git --git-dir cloned/$1 pull clone: $(call mkdir,cloned) $(call clone,$(BMP_DIR),$(BMP_PRJ)) $(call pull,$(BMP_DIR),$(BMP_PRJ))