Subversion Repositories Projects

Rev

Rev 321 | Rev 349 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 321 Rev 346
Line 33... Line 33...
33
HEX_EEPROM_FLAGS += --set-section-flags=.eeprom="alloc,load"
33
HEX_EEPROM_FLAGS += --set-section-flags=.eeprom="alloc,load"
34
HEX_EEPROM_FLAGS += --change-section-lma .eeprom=0 --no-change-warnings
34
HEX_EEPROM_FLAGS += --change-section-lma .eeprom=0 --no-change-warnings
Line 35... Line 35...
35
 
35
 
36
 
36
 
Line 37... Line 37...
37
## Objects that must be built in order to link
37
## Objects that must be built in order to link
38
OBJECTS = main.o 
38
OBJECTS = main.o usart1.o max7456_software_spi.o
Line 39... Line 39...
39
 
39
 
Line 45... Line 45...
45
 
45
 
46
## Compile
46
## Compile
47
main.o: ../main.c
47
main.o: ../main.c
Line -... Line 48...
-
 
48
	$(CC) $(INCLUDES) $(CFLAGS) -c  $<
-
 
49
 
-
 
50
usart1.o: ../usart1.c
-
 
51
	$(CC) $(INCLUDES) $(CFLAGS) -c  $<
-
 
52
	
-
 
53
max7456_software_spi.o: ../max7456_software_spi.c
48
	$(CC) $(INCLUDES) $(CFLAGS) -c  $<
54
	$(CC) $(INCLUDES) $(CFLAGS) -c  $<
49
 
55
	
50
##Link
56
##Link
Line 51... Line 57...
51
$(TARGET): $(OBJECTS)
57
$(TARGET): $(OBJECTS)
Line 70... Line 76...
70
	-rm -rf $(OBJECTS) C-OSD.elf dep/* C-OSD.hex C-OSD.eep C-OSD.lss C-OSD.map
76
	-rm -rf $(OBJECTS) C-OSD.elf dep/* C-OSD.hex C-OSD.eep C-OSD.lss C-OSD.map
Line 71... Line 77...
71
 
77
 
72
 
78
 
73
## Other dependencies
-