|
|
|
@ -21,7 +21,7 @@ $(shell ./build_detect_platform build_config.mk) |
|
|
|
|
# this file is generated by the previous line to set build flags and sources
|
|
|
|
|
include build_config.mk |
|
|
|
|
|
|
|
|
|
CFLAGS += -I. -I./include $(PLATFORM_CCFLAGS) $(OPT)
|
|
|
|
|
CFLAGS += -I. -I./include $(PLATFORM_CCFLAGS) $(OPT)
|
|
|
|
|
CXXFLAGS += -I. -I./include $(PLATFORM_CXXFLAGS) $(OPT)
|
|
|
|
|
|
|
|
|
|
LDFLAGS += $(PLATFORM_LDFLAGS)
|
|
|
|
@ -71,7 +71,7 @@ SHARED2 = $(SHARED1).$(SHARED_MAJOR) |
|
|
|
|
SHARED3 = $(SHARED1).$(SHARED_MAJOR).$(SHARED_MINOR)
|
|
|
|
|
SHARED = $(SHARED1) $(SHARED2) $(SHARED3)
|
|
|
|
|
$(SHARED3): |
|
|
|
|
$(CXX) $(LDFLAGS) $(PLATFORM_SHARED_LDFLAGS)$(INSTALL_PATH)/$(SHARED2) $(CXXFLAGS) $(PLATFORM_SHARED_CFLAGS) $(SOURCES) -o $(SHARED3)
|
|
|
|
|
$(CXX) $(LDFLAGS) $(PLATFORM_SHARED_LDFLAGS)$(INSTALL_PATH)/$(SHARED2) $(CXXFLAGS) $(PLATFORM_SHARED_CFLAGS) $(SOURCES) -o $(SHARED3) $(EXEC_LDFLAGS_SHARED)
|
|
|
|
|
$(SHARED2): $(SHARED3) |
|
|
|
|
ln -fs $(SHARED3) $(SHARED2)
|
|
|
|
|
$(SHARED1): $(SHARED3) |
|
|
|
|