But now, I have got a new problem. I can't realise the following sequence
(which works almost fine with the sh.exe file in my PATH; see previous
e-mail).
#------------------------------------------------------------------
# Generate lnk linker locator file according to $(TARGETOPT)
# (Emulation or Simulation).
#------------------------------------------------------------------
$(APP_NAME).lnk : Makefile
@echo "+++Generating linker file ..."
@echo "objects:" > Temp1.tmp
for obj in '$(OBJS)' ; do echo "$$obj" >> Temp1.tmp ; done
@echo "libraries:" >> Temp1.tmp
@for lib in '$(LIBS)' ; do echo "$$lib" >> Temp1.tmp ; done
The following error occurs :
obj was unexpected at this time.
make: *** [IDCS_TST.lnk] Error 255
It means that the echo command does not work as expected :-((((. Thus, I used the bash.exe file
in my PATH. Did you have any idea ?