* Hans-Joachim Lankenau <[EMAIL PROTECTED]> [050720 15:28]:
> hi!

Hi Hans-Joachim,

> just a wild guess without actually knowing your makefile:

> maybe concatination of the two variables leaves a string containing a 
> blank. that would break matching the rule.

> to check, try

> ttt:
>       echo $(OUT_APP_OBJ)

> as the first target in your makefile but after setting this variable.

I also suppose that it may be such a kind of problem, but after testing,
the concatanation seems ok. 

To test, I created a directory test in CppBindings to test the all
stuff. The makefile is really simple :



# Makefile -
PRJ=../../../../..
SETTINGS=$(PRJ)/settings

include $(SETTINGS)/settings.mk
include $(SETTINGS)/std.mk
include $(SETTINGS)/dk.mk

# Define non-platform/compiler specific settings
APP_NAME=SimpleBootstrap_cpp

# HERE IS THE PROBLEM
OUT_APP_OBJ = $(OUT_OBJ)/$(APP_NAME)

# DOES WORK
# OUT_APP_OBJ = $(OUT_OBJ)

.PHONY: ALL
ALL : \
  SimpleBootstrapCppExample

include $(SETTINGS)/stdtarget.mk

$(OUT_APP_OBJ)/%.$(OBJ_EXT) :
  @echo "coucou3"

coucou : 
  @echo "coucou3"

$(OUT_BIN)/_%$(EXE_EXT) : $(OUT_APP_OBJ)/%.$(OBJ_EXT)
  @echo "coucou2" 
  @echo $(OUT_APP_OBJ)/%.$(OBJ_EXT)

$(OUT_BIN)/%$(EXE_EXT) : $(OUT_BIN)/_%$(EXE_EXT)
  @echo "coucou"

SimpleBootstrapCppExample : $(OUT_BIN)/SimpleBootstrap_cpp$(EXE_EXT)
  @echo "end"


Thanks for the help !

Pierre-Andre
-- 
"I have always wished for my computer to be as easy to use as my
telephone; my wish has come true because I can no longer figure out how
to use my telephone" - Bjarne Stroustrup -

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to