27 lines
911 B
Makefile
27 lines
911 B
Makefile
################################################################################
|
|
# Automatically-generated file. Do not edit!
|
|
################################################################################
|
|
|
|
# Add inputs and outputs from these tool invocations to the build variables
|
|
LD_SRCS += \
|
|
../src/lscript.ld
|
|
|
|
MAIN_SRC := $(wildcard ../src/*.c)
|
|
|
|
C_SRCS += $(UTIL_SRC)
|
|
|
|
OBJS += $(patsubst ../src/%.c, ./src/%.o, $(MAIN_SRC))
|
|
|
|
C_DEPS += $(patsubst ../src/%.c, ./src/%.d, $(MAIN_SRC))
|
|
|
|
|
|
# Each subdirectory must supply rules for building sources it contributes
|
|
src/%.o: ../src/%.c
|
|
@echo 'Building file: $<'
|
|
@echo 'Invoking: ARM v7 gcc compiler'
|
|
$(CC) -Wall -Wformat=2 -O0 -g3 -c -fmessage-length=0 -MT"$@" -mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -I../bsp/ps7_cortexa9_0/include -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<"
|
|
@echo 'Finished building: $<'
|
|
@echo ' '
|
|
|
|
|