source: projects/bull-anelex-project/trunk/BULL-Druckermapping/Release/Makefile @ 68

Last change on this file since 68 was 68, checked in by sven, 7 years ago

Zwecks kollektivem Arbeiten aktuellen Stand ins Repository gepackt

File size: 3.8 KB
RevLine 
[68]1################################################################################
2# Automatically-generated file. Do not edit!
3################################################################################
4
5SHELL := cmd.exe
6RM := rm -rf
7
8USER_OBJS :=
9
10LIBS := 
11PROJ := 
12
13O_SRCS := 
14C_SRCS := 
15S_SRCS := 
16S_UPPER_SRCS := 
17OBJ_SRCS := 
18ASM_SRCS := 
19PREPROCESSING_SRCS := 
20OBJS := 
21OBJS_AS_ARGS := 
22C_DEPS := 
23C_DEPS_AS_ARGS := 
24EXECUTABLES := 
25LIB_AS_ARGS :=
26OUTPUT_FILE_PATH :=
27OUTPUT_FILE_PATH_AS_ARGS :=
28HEX_FLASH_FILE_PATH :=
29HEX_FLASH_FILE_PATH_AS_ARGS :=
30HEX_EEPROM_FILE_PATH :=
31HEX_EEPROM_FILE_PATH_AS_ARGS :=
32LSS_FILE_PATH :=
33LSS_FILE_PATH_AS_ARGS :=
34MAP_FILE_PATH :=
35MAP_FILE_PATH_AS_ARGS :=
36AVR_APP_PATH :=D:/Programme/Atmel AVR Studio 5/AVR ToolChain/bin/
37QUOTE := "
38ADDITIONAL_DEPENDENCIES:=
39OUTPUT_FILE_DEP:=
40
41# Every subdirectory with source files must be described here
42SUBDIRS := 
43
44
45# Add inputs and outputs from these tool invocations to the build variables
46C_SRCS +=  \
47../BULL-Druckermapping.c
48
49
50PREPROCESSING_SRCS += 
51
52
53ASM_SRCS += 
54
55
56OBJS +=  \
57BULL-Druckermapping.o
58
59
60OBJS_AS_ARGS +=  \
61BULL-Druckermapping.o
62
63
64C_DEPS +=  \
65BULL-Druckermapping.d
66
67
68C_DEPS_AS_ARGS +=  \
69BULL-Druckermapping.d
70
71
72OUTPUT_FILE_PATH +=BULL-Druckermapping.elf
73
74OUTPUT_FILE_PATH_AS_ARGS +=BULL-Druckermapping.elf
75
76HEX_FLASH_FILE_PATH +=BULL-Druckermapping.hex
77
78HEX_FLASH_FILE_PATH_AS_ARGS +=BULL-Druckermapping.hex
79
80HEX_EEPROM_FILE_PATH +=BULL-Druckermapping.eep
81
82HEX_EEPROM_FILE_PATH_AS_ARGS +=BULL-Druckermapping.eep
83
84LSS_FILE_PATH +=BULL-Druckermapping.lss
85
86LSS_FILE_PATH_AS_ARGS +=BULL-Druckermapping.lss
87
88MAP_FILE_PATH =BULL-Druckermapping.map
89
90MAP_FILE_PATH_AS_ARGS =BULL-Druckermapping.map
91
92LIB_AS_ARGS +=libBULL-Druckermapping.a
93
94ADDITIONAL_DEPENDENCIES:= $(HEX_FLASH_FILE_PATH) $(LSS_FILE_PATH) $(HEX_EEPROM_FILE_PATH) size
95
96OUTPUT_FILE_DEP:= ./makedep.mk
97
98# AVR/GNU C Compiler
99
100
101
102./%.o: .././%.c
103        @echo Building file: $<
104        @echo Invoking: AVR/GNU C Compiler
105        $(QUOTE)$(AVR_APP_PATH)avr-gcc.exe$(QUOTE) -funsigned-char -funsigned-bitfields -O2 -fpack-struct -fshort-enums -Wall -c -std=gnu99  -mmcu=atmega644p   -MD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -o"$@" "$<"
106        @echo Finished building: $<
107
108
109
110# AVR/GNU Assembler
111
112
113
114
115ifneq ($(MAKECMDGOALS),clean)
116ifneq ($(strip $(C_DEPS)),)
117-include $(C_DEPS)
118endif
119endif
120
121# Add inputs and outputs from these tool invocations to the build variables
122
123# All Target
124all: $(OUTPUT_FILE_PATH) $(ADDITIONAL_DEPENDENCIES)
125
126# AVR/GNU C/C++ Linker
127$(OUTPUT_FILE_PATH): $(OBJS) $(USER_OBJS) $(OUTPUT_FILE_DEP)
128        @echo Building target: $@
129        @echo Invoking: AVR/GNU C/C++ Linker
130        $(QUOTE)$(AVR_APP_PATH)avr-gcc.exe$(QUOTE)  -mmcu=atmega644p  -Wl,-Map=$(MAP_FILE_PATH_AS_ARGS) -o$(OUTPUT_FILE_PATH_AS_ARGS) $(OBJS_AS_ARGS) $(USER_OBJS) $(LIBS)
131        @echo Finished building target: $@
132
133
134
135$(HEX_FLASH_FILE_PATH): $(OUTPUT_FILE_PATH)
136        $(QUOTE)$(AVR_APP_PATH)avr-objcopy.exe$(QUOTE) -O ihex -R .eeprom -R .fuse -R .lock -R .signature  $(QUOTE)$<$(QUOTE) $(QUOTE)$@$(QUOTE)
137
138$(HEX_EEPROM_FILE_PATH): $(OUTPUT_FILE_PATH)
139        -$(QUOTE)$(AVR_APP_PATH)avr-objcopy.exe$(QUOTE) -j .eeprom --set-section-flags=.eeprom=alloc,load --change-section-lma .eeprom=0 --no-change-warnings -O ihex $(QUOTE)$<$(QUOTE) $(QUOTE)$@$(QUOTE) || exit 0
140
141$(LSS_FILE_PATH): $(OUTPUT_FILE_PATH)
142        $(QUOTE)$(AVR_APP_PATH)avr-objdump.exe$(QUOTE) -h -S $(QUOTE)$<$(QUOTE) > $(QUOTE)$@$(QUOTE)
143
144size: $(OUTPUT_FILE_PATH)
145        @$(QUOTE)$(AVR_APP_PATH)avr-size.exe$(QUOTE) -C --mcu=atmega644p $(OUTPUT_FILE_PATH_AS_ARGS)
146
147# Other Targets
148clean:
149        -$(RM) $(OBJS_AS_ARGS)$(C_DEPS_AS_ARGS) $(EXECUTABLES) $(LIB_AS_ARGS) $(HEX_FLASH_FILE_PATH_AS_ARGS) $(HEX_EEPROM_FILE_PATH_AS_ARGS) $(LSS_FILE_PATH_AS_ARGS) $(MAP_FILE_PATH_AS_ARGS)
150
Note: See TracBrowser for help on using the repository browser.
© 2008 - 2013 technikum29 • Sven Köppel • Some rights reserved
Powered by Trac
Expect where otherwise noted, content on this site is licensed under a Creative Commons 3.0 License