Makefile 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. ################################################################################
  2. # Automatically-generated file. Do not edit!
  3. ################################################################################
  4. SHELL := cmd.exe
  5. RM := rm -rf
  6. USER_OBJS :=
  7. LIBS :=
  8. PROJ :=
  9. O_SRCS :=
  10. C_SRCS :=
  11. S_SRCS :=
  12. S_UPPER_SRCS :=
  13. OBJ_SRCS :=
  14. ASM_SRCS :=
  15. PREPROCESSING_SRCS :=
  16. OBJS :=
  17. OBJS_AS_ARGS :=
  18. C_DEPS :=
  19. C_DEPS_AS_ARGS :=
  20. EXECUTABLES :=
  21. OUTPUT_FILE_PATH :=
  22. OUTPUT_FILE_PATH_AS_ARGS :=
  23. AVR_APP_PATH :=$$$AVR_APP_PATH$$$
  24. QUOTE := "
  25. ADDITIONAL_DEPENDENCIES:=
  26. OUTPUT_FILE_DEP:=
  27. LIB_DEP:=
  28. LINKER_SCRIPT_DEP:=
  29. # Every subdirectory with source files must be described here
  30. SUBDIRS :=
  31. # Add inputs and outputs from these tool invocations to the build variables
  32. C_SRCS += \
  33. ../heater3.c \
  34. ../lcd-twi.c \
  35. ../potentiometers.c \
  36. ../saveload.c \
  37. ../tools.c
  38. PREPROCESSING_SRCS +=
  39. ASM_SRCS +=
  40. OBJS += \
  41. heater3.o \
  42. lcd-twi.o \
  43. potentiometers.o \
  44. saveload.o \
  45. tools.o
  46. OBJS_AS_ARGS += \
  47. heater3.o \
  48. lcd-twi.o \
  49. potentiometers.o \
  50. saveload.o \
  51. tools.o
  52. C_DEPS += \
  53. heater3.d \
  54. lcd-twi.d \
  55. potentiometers.d \
  56. saveload.d \
  57. tools.d
  58. C_DEPS_AS_ARGS += \
  59. heater3.d \
  60. lcd-twi.d \
  61. potentiometers.d \
  62. saveload.d \
  63. tools.d
  64. OUTPUT_FILE_PATH +=heater3.elf
  65. OUTPUT_FILE_PATH_AS_ARGS +=heater3.elf
  66. ADDITIONAL_DEPENDENCIES:=
  67. OUTPUT_FILE_DEP:= ./makedep.mk
  68. LIB_DEP+=
  69. LINKER_SCRIPT_DEP+=
  70. # AVR32/GNU C Compiler
  71. ./heater3.o: .././heater3.c
  72. @echo Building file: $<
  73. @echo Invoking: AVR/GNU C Compiler : 5.4.0
  74. $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\avr8\avr8-gnu-toolchain\bin\avr-gcc.exe$(QUOTE) -x c -funsigned-char -funsigned-bitfields -DDEBUG -DF_CPU=12000000UL -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\ATmega_DFP\1.2.209\include" -O2 -ffunction-sections -fdata-sections -fpack-struct -fshort-enums -mrelax -g2 -Wall -mmcu=atmega644pa -B "C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\ATmega_DFP\1.2.209\gcc\dev\atmega644pa" -c -std=gnu99 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
  75. @echo Finished building: $<
  76. ./lcd-twi.o: .././lcd-twi.c
  77. @echo Building file: $<
  78. @echo Invoking: AVR/GNU C Compiler : 5.4.0
  79. $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\avr8\avr8-gnu-toolchain\bin\avr-gcc.exe$(QUOTE) -x c -funsigned-char -funsigned-bitfields -DDEBUG -DF_CPU=12000000UL -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\ATmega_DFP\1.2.209\include" -O2 -ffunction-sections -fdata-sections -fpack-struct -fshort-enums -mrelax -g2 -Wall -mmcu=atmega644pa -B "C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\ATmega_DFP\1.2.209\gcc\dev\atmega644pa" -c -std=gnu99 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
  80. @echo Finished building: $<
  81. ./potentiometers.o: .././potentiometers.c
  82. @echo Building file: $<
  83. @echo Invoking: AVR/GNU C Compiler : 5.4.0
  84. $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\avr8\avr8-gnu-toolchain\bin\avr-gcc.exe$(QUOTE) -x c -funsigned-char -funsigned-bitfields -DDEBUG -DF_CPU=12000000UL -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\ATmega_DFP\1.2.209\include" -O2 -ffunction-sections -fdata-sections -fpack-struct -fshort-enums -mrelax -g2 -Wall -mmcu=atmega644pa -B "C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\ATmega_DFP\1.2.209\gcc\dev\atmega644pa" -c -std=gnu99 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
  85. @echo Finished building: $<
  86. ./saveload.o: .././saveload.c
  87. @echo Building file: $<
  88. @echo Invoking: AVR/GNU C Compiler : 5.4.0
  89. $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\avr8\avr8-gnu-toolchain\bin\avr-gcc.exe$(QUOTE) -x c -funsigned-char -funsigned-bitfields -DDEBUG -DF_CPU=12000000UL -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\ATmega_DFP\1.2.209\include" -O2 -ffunction-sections -fdata-sections -fpack-struct -fshort-enums -mrelax -g2 -Wall -mmcu=atmega644pa -B "C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\ATmega_DFP\1.2.209\gcc\dev\atmega644pa" -c -std=gnu99 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
  90. @echo Finished building: $<
  91. ./tools.o: .././tools.c
  92. @echo Building file: $<
  93. @echo Invoking: AVR/GNU C Compiler : 5.4.0
  94. $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\avr8\avr8-gnu-toolchain\bin\avr-gcc.exe$(QUOTE) -x c -funsigned-char -funsigned-bitfields -DDEBUG -DF_CPU=12000000UL -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\ATmega_DFP\1.2.209\include" -O2 -ffunction-sections -fdata-sections -fpack-struct -fshort-enums -mrelax -g2 -Wall -mmcu=atmega644pa -B "C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\ATmega_DFP\1.2.209\gcc\dev\atmega644pa" -c -std=gnu99 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
  95. @echo Finished building: $<
  96. # AVR32/GNU Preprocessing Assembler
  97. # AVR32/GNU Assembler
  98. ifneq ($(MAKECMDGOALS),clean)
  99. ifneq ($(strip $(C_DEPS)),)
  100. -include $(C_DEPS)
  101. endif
  102. endif
  103. # Add inputs and outputs from these tool invocations to the build variables
  104. # All Target
  105. all: $(OUTPUT_FILE_PATH) $(ADDITIONAL_DEPENDENCIES)
  106. $(OUTPUT_FILE_PATH): $(OBJS) $(USER_OBJS) $(OUTPUT_FILE_DEP) $(LIB_DEP) $(LINKER_SCRIPT_DEP)
  107. @echo Building target: $@
  108. @echo Invoking: AVR/GNU Linker : 5.4.0
  109. $(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\avr8\avr8-gnu-toolchain\bin\avr-gcc.exe$(QUOTE) -o$(OUTPUT_FILE_PATH_AS_ARGS) $(OBJS_AS_ARGS) $(USER_OBJS) $(LIBS) -Wl,-Map="heater3.map" -Wl,-u,vfprintf -Wl,--start-group -Wl,-lm -Wl,--end-group -Wl,--gc-sections -mrelax -mmcu=atmega644pa -B "C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\ATmega_DFP\1.2.209\gcc\dev\atmega644pa" -lprintf_flt
  110. @echo Finished building target: $@
  111. "C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\avr8\avr8-gnu-toolchain\bin\avr-objcopy.exe" -O ihex -R .eeprom -R .fuse -R .lock -R .signature -R .user_signatures "heater3.elf" "heater3.hex"
  112. "C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\avr8\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 "heater3.elf" "heater3.eep" || exit 0
  113. "C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\avr8\avr8-gnu-toolchain\bin\avr-objdump.exe" -h -S "heater3.elf" > "heater3.lss"
  114. "C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\avr8\avr8-gnu-toolchain\bin\avr-objcopy.exe" -O srec -R .eeprom -R .fuse -R .lock -R .signature -R .user_signatures "heater3.elf" "heater3.srec"
  115. "C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\avr8\avr8-gnu-toolchain\bin\avr-size.exe" "heater3.elf"
  116. # Other Targets
  117. clean:
  118. -$(RM) $(OBJS_AS_ARGS) $(EXECUTABLES)
  119. -$(RM) $(C_DEPS_AS_ARGS)
  120. rm -rf "heater3.elf" "heater3.a" "heater3.hex" "heater3.lss" "heater3.eep" "heater3.map" "heater3.srec" "heater3.usersignatures"