################################################################################
# Automatically-generated file. Do not edit!
################################################################################

-include ../makefile.init

define loop
$(eval do=$(wordlist 1, ${1}, ${2}))\
$(if $(word 1, $(do)),\
	$(eval last=$(subst $(do),,${2}))\
	$(info $(strip ${3}) $(do))\
	$(shell ${3} $(do))\
	$(call loop, ${1}, $(last), ${3}),$(info ***** $(strip ${3}) finished *****))
endef
RM := rm -rf

# All of the sources participating in the build are defined here
-include sources.mk
-include src/libos/third/modbus/tcp/subdir.mk
-include src/libos/third/modbus/rtu/subdir.mk
-include src/libos/third/modbus/port/subdir.mk
-include src/libos/third/modbus/functions/subdir.mk
-include src/libos/third/modbus/ascii/subdir.mk
-include src/libos/third/modbus/subdir.mk
-include subdir.mk
-include objects.mk

ifneq ($(MAKECMDGOALS),clean)
ifneq ($(strip $(CC_DEPS)),)
-include $(CC_DEPS)
endif
ifneq ($(strip $(C++_DEPS)),)
-include $(C++_DEPS)
endif
ifneq ($(strip $(C_UPPER_DEPS)),)
-include $(C_UPPER_DEPS)
endif
ifneq ($(strip $(CXX_DEPS)),)
-include $(CXX_DEPS)
endif
ifneq ($(strip $(ASM_DEPS)),)
-include $(ASM_DEPS)
endif
ifneq ($(strip $(S_UPPER_DEPS)),)
-include $(S_UPPER_DEPS)
endif
ifneq ($(strip $(C_DEPS)),)
-include $(C_DEPS)
endif
ifneq ($(strip $(CPP_DEPS)),)
-include $(CPP_DEPS)
endif
endif

-include ../makefile.defs

# Add inputs and outputs from these tool invocations to the build variables 

# All Target
all: libmodbus.a secondary-outputs

# Tool invocations
libmodbus.a: $(OBJS) $(USER_OBJS)
	@echo 'Building target: $@'
	@echo 'Invoking: Cross ARM GNU Archiver'
	$(call loop, 100, $(OBJS) $(USER_OBJS) $(LIBS), arm-djyos-eabi-ar -rPu "libmodbus.a")
	@echo 'Finished building target: $@'
	@echo ' '

# Other Targets
clean:
	-@echo ' '

secondary-outputs:

.PHONY: all clean dependents

-include ../makefile.targets
