GNU make: Makefile Build Multiple .cpp Files at Once
This is more of a specific question on a specific case. 

Here is what I have:

    SRC = \
      CartoCursor.cpp \
      CartoOperatorFactory.cpp \
      CurveHelper.cpp \
      $(NULL)

    CXX = g++
    CC_FLAGS = -fPIC -Wall
    SYMB_OBJ_DIR = ./obj/symb_obj
    SYMB_X_INCLUDE = -I../../../MYLIBS
    SYMB_X_OBJS = $(SRC:%.cpp=$(SYMB_OBJ_DIR)/%.o)
    
    all : libSymbolXLib.a
    
    libSymbolXLib.a : $(SYMB_X_OBJS)
            rm -f $@
        
    
    $(SYMB_OBJ_DIR)/%.o : %.cpp
            $(CXX) -c $(CC_FLAGS) $(SYMB_X_INCLUDE) -o $(INT_DIR)/$*.o $?
    
When I run this I am getting the following error:

    make[1]: *** No rule to make target `obj/symb_obj/CartoCursor.o', needed by `libSymbolXLib.a'.  Stop.

What do I need to do to get the libSymbolXLib to recognize the generic build rule?

If this is not clear please let me know.
GNU make: Makefile Build Multiple .cpp Files at Once
===

This is more of a specific question on a specific case. 

Here is what I have:

    SRC = \
      CartoCursor.cpp \
      CartoOperatorFactory.cpp \
      CurveHelper.cpp \
      $(NULL)

    CXX = g++
    CC_FLAGS = -fPIC -Wall
    SYMB_OBJ_DIR = ./obj/symb_obj
    SYMB_X_INCLUDE = -I../../../MYLIBS
    SYMB_X_OBJS = $(SRC:%.cpp=$(SYMB_OBJ_DIR)/%.o)
    
    all : libSymbolXLib.a
    
    libSymbolXLib.a : $(SYMB_X_OBJS)
            rm -f $@
        
    
    $(SYMB_OBJ_DIR)/%.o : %.cpp
            $(CXX) -c $(CC_FLAGS) $(SYMB_X_INCLUDE) -o $(INT_DIR)/$*.o $?
    
When I run this I am getting the following error:

    make[1]: *** No rule to make target `obj/symb_obj/CartoCursor.o', needed by `libSymbolXLib.a'.  Stop.

What do I need to do to get the libSymbolXLib to recognize the generic build rule?

If this is not clear please let me know.