70 lines
1.6 KiB
Makefile
70 lines
1.6 KiB
Makefile
################################################################################
|
|
# Automatically-generated file. Do not edit!
|
|
################################################################################
|
|
|
|
-include ../makefile.init
|
|
|
|
RM := rm -rf
|
|
|
|
# All of the sources participating in the build are defined here
|
|
-include sources.mk
|
|
-include subdir.mk
|
|
ifneq ($(MAKECMDGOALS),clean)
|
|
ifneq ($(strip $(C++_DEPS)),)
|
|
-include $(C++_DEPS)
|
|
endif
|
|
ifneq ($(strip $(CC_DEPS)),)
|
|
-include $(CC_DEPS)
|
|
endif
|
|
ifneq ($(strip $(CPP_DEPS)),)
|
|
-include $(CPP_DEPS)
|
|
endif
|
|
ifneq ($(strip $(CXX_DEPS)),)
|
|
-include $(CXX_DEPS)
|
|
endif
|
|
ifneq ($(strip $(C_DEPS)),)
|
|
-include $(C_DEPS)
|
|
endif
|
|
ifneq ($(strip $(C_UPPER_DEPS)),)
|
|
-include $(C_UPPER_DEPS)
|
|
endif
|
|
endif
|
|
|
|
-include ../makefile.defs
|
|
|
|
OPTIONAL_TOOL_DEPS := \
|
|
$(wildcard ../makefile.defs) \
|
|
$(wildcard ../makefile.init) \
|
|
$(wildcard ../makefile.targets) \
|
|
|
|
|
|
BUILD_ARTIFACT_NAME := lib-cpp-shared
|
|
BUILD_ARTIFACT_EXTENSION := so
|
|
BUILD_ARTIFACT_PREFIX := lib
|
|
BUILD_ARTIFACT := $(BUILD_ARTIFACT_PREFIX)$(BUILD_ARTIFACT_NAME)$(if $(BUILD_ARTIFACT_EXTENSION),.$(BUILD_ARTIFACT_EXTENSION),)
|
|
|
|
# Add inputs and outputs from these tool invocations to the build variables
|
|
|
|
# All Target
|
|
all: main-build
|
|
|
|
# Main-build Target
|
|
main-build: liblib-cpp-shared.so
|
|
|
|
# Tool invocations
|
|
liblib-cpp-shared.so: $(OBJS) $(USER_OBJS) makefile $(OPTIONAL_TOOL_DEPS)
|
|
@echo 'Building target: $@'
|
|
@echo 'Invoking: GCC C++ Linker'
|
|
g++ -shared -o "liblib-cpp-shared.so" $(OBJS) $(USER_OBJS) $(LIBS)
|
|
@echo 'Finished building target: $@'
|
|
@echo ' '
|
|
|
|
# Other Targets
|
|
clean:
|
|
-$(RM) liblib-cpp-shared.so
|
|
-@echo ' '
|
|
|
|
.PHONY: all clean dependents main-build
|
|
|
|
-include ../makefile.targets
|