-include .defs.mk#NDB_OS = OS_YOU_ARE_RUNNING_ON#You need to set the NDB_OS variable hereTARGET= ndbapi_example2SRCS= ndbapi_example2.cppOBJS= ndbapi_example2.oCXX= g++CFLAGS=-c-Wall-fno-rtti-fno-exceptionsDEBUG=LFLAGS=-WallINCLUDE_DIR= ../../includeLIB_DIR= ../../libifeq($(NDB_OS), SOLARIS)# Here is the definition of system libraries necessary for Solaris 7SYS_LIB=endififeq($(NDB_OS), LINUX)# Here is the definition of system libraries necessary for Linux 2.4SYS_LIB=endififeq($(NDB_OS), MACOSX)# Here is the definition of system libraries necessary for Mac OS XSYS_LIB=endif$(TARGET):$(OBJS)$(CXX)$(LFLAGS)-L$(LIB_DIR)$(OBJS)-lNDB_API$(SYS_LIB)-o$(TARGET)$(TARGET).o:$(SRCS)$(CXX)$(CFLAGS)-I$(INCLUDE_DIR)-I$(INCLUDE_DIR)/ndbapi $(SRCS)clean:rm-f*.o $(TARGET)