37 lines
1016 B
Makefile
Raw Normal View History

################################################################################
# Automatically-generated file. Do not edit!
################################################################################
2023-11-16 15:30:56 +08:00
-include makefile.init
RM := find . -path './build' -prune -o -print -a -type f -not -name '*.mk' -a -not -name '*.ld' -a -not -name 'makefile' -a -not -name 'genhex.sh' -delete & rm -rf
# 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: libinterrupt.a
# Tool invocations
2023-11-16 15:30:56 +08:00
libinterrupt.a: $(OBJS)
@echo 'Building target: $@'
@echo 'Invoking: GNU archiver'
2023-11-16 15:30:56 +08:00
ar rcs "./lib/libinterrupt.a" $(USER_OBJS) $(OBJS) $(LIBS)
@echo 'Finished building target: $@'
@echo ' '
# Other Targets
clean:
2023-11-16 15:30:56 +08:00
-$(RM) $(LIB)$(OBJS)$(C_DEPS) libinterrupt.a
-@echo ' '
.PHONY: all clean dependents