1 #============================================================================
2 # Setup of compiler/linker flags for debug/optimize mode
3 #============================================================================
7 # Set modus related flags
8 CFLAGS += $(COMPILER_CFLAGS) $(COMPILER_CFLAGS_$(VARIANT)) ;
9 CXXFLAGS += $(COMPILER_CFLAGS) $(COMPILER_CXXFLAGS)
10 $(COMPILER_CFLAGS_$(VARIANT)) $(COMPILER_CXXFLAGS_$(VARIANT)) ;
11 LIBS += $(LDFLAGS) $(COMPILER_LIBS) $(COMPILER_LIBS_$(VARIANT)) ;
12 LOCATE_OBJECTS = $(LOCATE_OBJECTS)/$(VARIANT) ;
14 ## SubVariant variantname
15 ## Specify subvarianet which are placed in separate compilation directories.
23 if $(SAVED_LOCATE_TARGET)
25 LOCATE_TARGET = $(SAVED_LOCATE_TARGET) ;
27 SAVED_LOCATE_TARGET = ;
31 if ! $(SAVED_LOCATE_TARGET)
33 SAVED_LOCATE_TARGET = $(LOCATE_TARGET) ;
35 LOCATE_TARGET = $(LOCATE_TARGET)/$(SUBVARIANT) ;