2025-04-30 16:24:29 +08:00

65 lines
1.8 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
-include code/user/src/subdir.mk
-include code/sqlite/subdir.mk
-include code/protect/iniparser/subdir.mk
-include code/protect/demo/subdir.mk
-include code/mms/src/subdir.mk
-include code/link60870/src/subdir.mk
-include code/general/src/subdir.mk
-include code/general/candriver/subdir.mk
-include code/eth2lib/src/subdir.mk
-include objects.mk
ifneq ($(MAKECMDGOALS),clean)
ifneq ($(strip $(C_DEPS)),)
-include $(C_DEPS)
endif
endif
-include ../makefile.defs
# Add inputs and outputs from these tool invocations to the build variables
EXECUTABLES += \
# All Target
all: commcpu secondary-outputs
# Tool invocations
commcpu: $(OBJS) $(USER_OBJS)
@echo 'Building target: $@'
@echo 'Invoking: Sourcery CodeBench C Linker'
bfin-linux-uclibc-gcc -s -L"./../code/libxml/linux" -Xlinker -Map="commcpu.map" -o"commcpu" "@objs.rsp" "@user_objs.rsp" "@libs.rsp"
@echo 'Finished building target: $@'
@echo ' '
$(MAKE) --no-print-directory post-build
# Other Targets
clean:
-$(RM) $(C_DEPS)$(EXECUTABLES)
-$(RM) ./code/user/src/*.o
-$(RM) ./code/sqlite/*.o ./code/protect/iniparser/*.o
-$(RM) ./code/protect/demo/*.o ./code/mms/src/*.o ./code/link60870/src/*.o ./code/eth2lib/src/*.o
-$(RM) ./code/general/src/*.o ./code/general/candriver/*.o commcpu
post-build:
-copy commcpu .\\..\\prj\\bin\\commcpu\\ /Y && bfin-linux-uclibc-size commcpu
-@echo ' '
secondary-outputs:
.PHONY: all clean dependents
.SECONDARY: post-build
-include ../makefile.targets