43 lines
998 B
Makefile
Raw Normal View History

################################################################################
# Automatically-generated file. Do not edit!
################################################################################
2023-11-17 11:03:11 +08:00
# set toolchain home
ifeq ($(strip $(MaPU_TC_HOME)),)
MaPU_TC_HOME := /public/share/tools/msdk/toolchain
endif
2023-11-16 18:12:04 +08:00
RM := rm -rf
2023-11-17 11:03:11 +08:00
APP: all
LIB: libspinlock.a
.PHONY: LIB APP
# All of the sources participating in the build are defined here
2023-11-16 15:30:56 +08:00
-include ./obj/subdir.mk
ifneq ($(MAKECMDGOALS),clean)
ifneq ($(strip $(C_DEPS)),)
-include $(C_DEPS)
endif
endif
# Add inputs and outputs from these tool invocations to the build variables
# All Target
2023-11-16 15:30:56 +08:00
all: libspinlock.a
# Tool invocations
2023-11-16 15:30:56 +08:00
libspinlock.a: $(OBJS)
@echo 'Building target: $@'
@echo 'Invoking: GNU archiver'
2023-11-16 15:30:56 +08:00
ar rcs "./lib/libspinlock.a" $(USER_OBJS) $(OBJS) $(LIBS)
@echo 'Finished building target: $@'
@echo ' '
# Other Targets
clean:
2023-11-16 18:12:04 +08:00
-$(RM) ./obj/*.o ./obj/*.d ./lib/libspinlock.a
-@echo ' '
.PHONY: all clean dependents