I have been trying all the answers that are posted in stack overflow previously. Nothing worked for me. Below is the make file:
export IFT_DIR=./ift
export OPF_DIR=./ift/LibOPF
all: msp_bin
FLAGS= -O6 -Wall
$(IFT_DIR)/lib/libift.a:
$(MAKE) -C $(IFT_DIR)
msp_bin: msp_bin.c $(IFT_DIR)/lib/libift.a
gcc $(FLAGS) msp_bin.c -o msp_bin -I $(IFT_DIR)/include I$(IFT_DIR)/LibOPF/include -L $(IFT_DIR)/lib -lift -lm -lz
clean:
del -f msp_bin *.a *~
$(MAKE) clean -C $(IFT_DIR)
and I get the error saying "make: nothing can be done for all."