222 lines
8.4 KiB
Makefile
222 lines
8.4 KiB
Makefile
|
################################################################################
|
||
|
# Automatically-generated file. Do not edit!
|
||
|
################################################################################
|
||
|
|
||
|
SHELL := cmd.exe
|
||
|
RM := rm -rf
|
||
|
|
||
|
USER_OBJS :=
|
||
|
|
||
|
LIBS :=
|
||
|
PROJ :=
|
||
|
|
||
|
O_SRCS :=
|
||
|
C_SRCS :=
|
||
|
S_SRCS :=
|
||
|
S_UPPER_SRCS :=
|
||
|
OBJ_SRCS :=
|
||
|
ASM_SRCS :=
|
||
|
PREPROCESSING_SRCS :=
|
||
|
OBJS :=
|
||
|
OBJS_AS_ARGS :=
|
||
|
C_DEPS :=
|
||
|
C_DEPS_AS_ARGS :=
|
||
|
EXECUTABLES :=
|
||
|
OUTPUT_FILE_PATH :=
|
||
|
OUTPUT_FILE_PATH_AS_ARGS :=
|
||
|
AVR_APP_PATH :=$$$AVR_APP_PATH$$$
|
||
|
QUOTE := "
|
||
|
ADDITIONAL_DEPENDENCIES:=
|
||
|
OUTPUT_FILE_DEP:=
|
||
|
LIB_DEP:=
|
||
|
|
||
|
# Every subdirectory with source files must be described here
|
||
|
SUBDIRS := \
|
||
|
../lib
|
||
|
|
||
|
|
||
|
# Add inputs and outputs from these tool invocations to the build variables
|
||
|
C_SRCS += \
|
||
|
../fonction.cpp \
|
||
|
../lib/LCD.cpp \
|
||
|
../lib/hc74595.cpp \
|
||
|
../lib/DCF77.cpp \
|
||
|
../lib/DS1307.cpp \
|
||
|
../lib/timer.cpp \
|
||
|
../lib/UART.cpp \
|
||
|
../Nixie\ clock.cpp
|
||
|
|
||
|
|
||
|
PREPROCESSING_SRCS +=
|
||
|
|
||
|
|
||
|
ASM_SRCS +=
|
||
|
|
||
|
|
||
|
OBJS += \
|
||
|
fonction.o \
|
||
|
lib/LCD.o \
|
||
|
lib/hc74595.o \
|
||
|
lib/DCF77.o \
|
||
|
lib/DS1307.o \
|
||
|
lib/timer.o \
|
||
|
lib/UART.o \
|
||
|
Nixie\ clock.o
|
||
|
|
||
|
OBJS_AS_ARGS += \
|
||
|
fonction.o \
|
||
|
lib/LCD.o \
|
||
|
lib/hc74595.o \
|
||
|
lib/DCF77.o \
|
||
|
lib/DS1307.o \
|
||
|
lib/timer.o \
|
||
|
lib/UART.o \
|
||
|
"Nixie clock.o"
|
||
|
|
||
|
C_DEPS += \
|
||
|
fonction.d \
|
||
|
lib/LCD.d \
|
||
|
lib/hc74595.d \
|
||
|
lib/DCF77.d \
|
||
|
lib/DS1307.d \
|
||
|
lib/timer.d \
|
||
|
lib/UART.d \
|
||
|
Nixie\ clock.d
|
||
|
|
||
|
C_DEPS_AS_ARGS += \
|
||
|
fonction.d \
|
||
|
lib/LCD.d \
|
||
|
lib/hc74595.d \
|
||
|
lib/DCF77.d \
|
||
|
lib/DS1307.d \
|
||
|
lib/timer.d \
|
||
|
lib/UART.d \
|
||
|
"Nixie clock.d"
|
||
|
|
||
|
OUTPUT_FILE_PATH +=Nixie\ clock.elf
|
||
|
|
||
|
OUTPUT_FILE_PATH_AS_ARGS +="Nixie clock.elf"
|
||
|
|
||
|
ADDITIONAL_DEPENDENCIES:=
|
||
|
|
||
|
OUTPUT_FILE_DEP:= ./makedep.mk
|
||
|
|
||
|
LIB_DEP+=
|
||
|
|
||
|
# AVR32/GNU C Compiler
|
||
|
./fonction.o: .././fonction.cpp
|
||
|
@echo Building file: $<
|
||
|
@echo Invoking: AVR8/GNU C Compiler : 3.4.4
|
||
|
$(QUOTE)C:\Program Files (x86)\Atmel\Atmel Toolchain\AVR8 GCC\Native\3.4.1056\avr8-gnu-toolchain\bin\avr-g++.exe$(QUOTE) -funsigned-char -funsigned-bitfields -DDEBUG -O1 -ffunction-sections -fdata-sections -fpack-struct -fshort-enums -g2 -Wall -mmcu=atmega328p -c -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
|
||
|
@echo Finished building: $<
|
||
|
|
||
|
|
||
|
lib/LCD.o: ../lib/LCD.cpp
|
||
|
@echo Building file: $<
|
||
|
@echo Invoking: AVR8/GNU C Compiler : 3.4.4
|
||
|
$(QUOTE)C:\Program Files (x86)\Atmel\Atmel Toolchain\AVR8 GCC\Native\3.4.1056\avr8-gnu-toolchain\bin\avr-g++.exe$(QUOTE) -funsigned-char -funsigned-bitfields -DDEBUG -O1 -ffunction-sections -fdata-sections -fpack-struct -fshort-enums -g2 -Wall -mmcu=atmega328p -c -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
|
||
|
@echo Finished building: $<
|
||
|
|
||
|
|
||
|
lib/hc74595.o: ../lib/hc74595.cpp
|
||
|
@echo Building file: $<
|
||
|
@echo Invoking: AVR8/GNU C Compiler : 3.4.4
|
||
|
$(QUOTE)C:\Program Files (x86)\Atmel\Atmel Toolchain\AVR8 GCC\Native\3.4.1056\avr8-gnu-toolchain\bin\avr-g++.exe$(QUOTE) -funsigned-char -funsigned-bitfields -DDEBUG -O1 -ffunction-sections -fdata-sections -fpack-struct -fshort-enums -g2 -Wall -mmcu=atmega328p -c -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
|
||
|
@echo Finished building: $<
|
||
|
|
||
|
|
||
|
lib/DCF77.o: ../lib/DCF77.cpp
|
||
|
@echo Building file: $<
|
||
|
@echo Invoking: AVR8/GNU C Compiler : 3.4.4
|
||
|
$(QUOTE)C:\Program Files (x86)\Atmel\Atmel Toolchain\AVR8 GCC\Native\3.4.1056\avr8-gnu-toolchain\bin\avr-g++.exe$(QUOTE) -funsigned-char -funsigned-bitfields -DDEBUG -O1 -ffunction-sections -fdata-sections -fpack-struct -fshort-enums -g2 -Wall -mmcu=atmega328p -c -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
|
||
|
@echo Finished building: $<
|
||
|
|
||
|
|
||
|
lib/DS1307.o: ../lib/DS1307.cpp
|
||
|
@echo Building file: $<
|
||
|
@echo Invoking: AVR8/GNU C Compiler : 3.4.4
|
||
|
$(QUOTE)C:\Program Files (x86)\Atmel\Atmel Toolchain\AVR8 GCC\Native\3.4.1056\avr8-gnu-toolchain\bin\avr-g++.exe$(QUOTE) -funsigned-char -funsigned-bitfields -DDEBUG -O1 -ffunction-sections -fdata-sections -fpack-struct -fshort-enums -g2 -Wall -mmcu=atmega328p -c -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
|
||
|
@echo Finished building: $<
|
||
|
|
||
|
|
||
|
lib/timer.o: ../lib/timer.cpp
|
||
|
@echo Building file: $<
|
||
|
@echo Invoking: AVR8/GNU C Compiler : 3.4.4
|
||
|
$(QUOTE)C:\Program Files (x86)\Atmel\Atmel Toolchain\AVR8 GCC\Native\3.4.1056\avr8-gnu-toolchain\bin\avr-g++.exe$(QUOTE) -funsigned-char -funsigned-bitfields -DDEBUG -O1 -ffunction-sections -fdata-sections -fpack-struct -fshort-enums -g2 -Wall -mmcu=atmega328p -c -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
|
||
|
@echo Finished building: $<
|
||
|
|
||
|
|
||
|
lib/UART.o: ../lib/UART.cpp
|
||
|
@echo Building file: $<
|
||
|
@echo Invoking: AVR8/GNU C Compiler : 3.4.4
|
||
|
$(QUOTE)C:\Program Files (x86)\Atmel\Atmel Toolchain\AVR8 GCC\Native\3.4.1056\avr8-gnu-toolchain\bin\avr-g++.exe$(QUOTE) -funsigned-char -funsigned-bitfields -DDEBUG -O1 -ffunction-sections -fdata-sections -fpack-struct -fshort-enums -g2 -Wall -mmcu=atmega328p -c -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
|
||
|
@echo Finished building: $<
|
||
|
|
||
|
|
||
|
./Nixie\ clock.o: .././Nixie\ clock.cpp
|
||
|
@echo Building file: $<
|
||
|
@echo Invoking: AVR8/GNU C Compiler : 3.4.4
|
||
|
$(QUOTE)C:\Program Files (x86)\Atmel\Atmel Toolchain\AVR8 GCC\Native\3.4.1056\avr8-gnu-toolchain\bin\avr-g++.exe$(QUOTE) -funsigned-char -funsigned-bitfields -DDEBUG -O1 -ffunction-sections -fdata-sections -fpack-struct -fshort-enums -g2 -Wall -mmcu=atmega328p -c -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
|
||
|
@echo Finished building: $<
|
||
|
|
||
|
|
||
|
|
||
|
./%.o: .././%.cpp
|
||
|
@echo Building file: $<
|
||
|
@echo Invoking: AVR8/GNU C Compiler : 3.4.4
|
||
|
$(QUOTE)C:\Program Files (x86)\Atmel\Atmel Toolchain\AVR8 GCC\Native\3.4.1056\avr8-gnu-toolchain\bin\avr-g++.exe$(QUOTE) -funsigned-char -funsigned-bitfields -DDEBUG -O1 -ffunction-sections -fdata-sections -fpack-struct -fshort-enums -g2 -Wall -mmcu=atmega328p -c -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
|
||
|
@echo Finished building: $<
|
||
|
|
||
|
|
||
|
lib/%.o: ../lib/%.cpp
|
||
|
@echo Building file: $<
|
||
|
@echo Invoking: AVR8/GNU C Compiler : 3.4.4
|
||
|
$(QUOTE)C:\Program Files (x86)\Atmel\Atmel Toolchain\AVR8 GCC\Native\3.4.1056\avr8-gnu-toolchain\bin\avr-g++.exe$(QUOTE) -funsigned-char -funsigned-bitfields -DDEBUG -O1 -ffunction-sections -fdata-sections -fpack-struct -fshort-enums -g2 -Wall -mmcu=atmega328p -c -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
|
||
|
@echo Finished building: $<
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
# AVR32/GNU Preprocessing Assembler
|
||
|
|
||
|
|
||
|
|
||
|
# AVR32/GNU Assembler
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
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
|
||
|
all: $(OUTPUT_FILE_PATH) $(ADDITIONAL_DEPENDENCIES)
|
||
|
|
||
|
$(OUTPUT_FILE_PATH): $(OBJS) $(USER_OBJS) $(OUTPUT_FILE_DEP) $(LIB_DEP)
|
||
|
@echo Building target: $@
|
||
|
@echo Invoking: AVR8/GNU Linker : 3.4.4
|
||
|
$(QUOTE)C:\Program Files (x86)\Atmel\Atmel Toolchain\AVR8 GCC\Native\3.4.1056\avr8-gnu-toolchain\bin\avr-g++.exe$(QUOTE) -o$(OUTPUT_FILE_PATH_AS_ARGS) $(OBJS_AS_ARGS) $(USER_OBJS) $(LIBS) -Wl,-Map="Nixie clock.map" -Wl,--start-group -Wl,-lm -Wl,--end-group -Wl,--gc-sections -mmcu=atmega328p
|
||
|
@echo Finished building target: $@
|
||
|
"C:\Program Files (x86)\Atmel\Atmel Toolchain\AVR8 GCC\Native\3.4.1056\avr8-gnu-toolchain\bin\avr-objcopy.exe" -O ihex -R .eeprom -R .fuse -R .lock -R .signature "Nixie clock.elf" "Nixie clock.hex"
|
||
|
"C:\Program Files (x86)\Atmel\Atmel Toolchain\AVR8 GCC\Native\3.4.1056\avr8-gnu-toolchain\bin\avr-objcopy.exe" -j .eeprom --set-section-flags=.eeprom=alloc,load --change-section-lma .eeprom=0 --no-change-warnings -O ihex "Nixie clock.elf" "Nixie clock.eep" || exit 0
|
||
|
"C:\Program Files (x86)\Atmel\Atmel Toolchain\AVR8 GCC\Native\3.4.1056\avr8-gnu-toolchain\bin\avr-objdump.exe" -h -S "Nixie clock.elf" > "Nixie clock.lss"
|
||
|
"C:\Program Files (x86)\Atmel\Atmel Toolchain\AVR8 GCC\Native\3.4.1056\avr8-gnu-toolchain\bin\avr-objcopy.exe" -O srec -R .eeprom -R .fuse -R .lock -R .signature "Nixie clock.elf" "Nixie clock.srec"
|
||
|
"C:\Program Files (x86)\Atmel\Atmel Toolchain\AVR8 GCC\Native\3.4.1056\avr8-gnu-toolchain\bin\avr-size.exe" "Nixie clock.elf"
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
# Other Targets
|
||
|
clean:
|
||
|
-$(RM) $(OBJS_AS_ARGS) $(EXECUTABLES)
|
||
|
-$(RM) $(C_DEPS_AS_ARGS)
|
||
|
rm -rf "Nixie clock.elf" "Nixie clock.a" "Nixie clock.hex" "Nixie clock.lss" "Nixie clock.eep" "Nixie clock.map" "Nixie clock.srec"
|
||
|
|