Subversion Repositories Projects

Rev

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

Rev 459 Rev 471
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 usart1.o max7456_software_spi.o osd_helpers.o
38
OBJECTS = main.o usart1.o max7456_software_spi.o osd_helpers.o config.o spi.o buttons.o
Line 39... Line 39...
39
 
39
 
Line 54... Line 54...
54
	$(CC) $(INCLUDES) $(CFLAGS) -c  $<
54
	$(CC) $(INCLUDES) $(CFLAGS) -c  $<
Line 55... Line 55...
55
 
55
 
56
osd_helpers.o: ../osd_helpers.c
56
osd_helpers.o: ../osd_helpers.c
Line -... Line 57...
-
 
57
	$(CC) $(INCLUDES) $(CFLAGS) -c  $<
-
 
58
	
-
 
59
config.o: ../config.c
-
 
60
	$(CC) $(INCLUDES) $(CFLAGS) -c  $<
-
 
61
 
-
 
62
spi.o: ../spi.c
-
 
63
	$(CC) $(INCLUDES) $(CFLAGS) -c  $<
-
 
64
	
-
 
65
buttons.o: ../buttons.c
57
	$(CC) $(INCLUDES) $(CFLAGS) -c  $<
66
	$(CC) $(INCLUDES) $(CFLAGS) -c  $<
58
 
67
 
59
##Link
68
##Link
Line 60... Line 69...
60
$(TARGET): $(OBJECTS)
69
$(TARGET): $(OBJECTS)