Subversion Repositories Projects

Rev

Rev 514 | Rev 734 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 514 Rev 685
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
35
 
35
 
36
 
36
 
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 config.o spi.o buttons.o ppm.o osd_ncmode_default.o osd_ncmode_minimal.o osd_fcmode_default.o characters.o
38
OBJECTS = main.o usart1.o max7456_software_spi.o osd_helpers.o config.o spi.o buttons.o ppm.o osd_ncmode_default.o osd_ncmode_minimal.o osd_fcmode_default.o osd_fcmode_jopl.o characters.o
39
 
39
 
40
## Objects explicitly added by the user
40
## Objects explicitly added by the user
41
LINKONLYOBJECTS =
41
LINKONLYOBJECTS =
42
 
42
 
43
## Build
43
## Build
Line 74... Line 74...
74
osd_ncmode_minimal.o: ../osd_ncmode_minimal.c
74
osd_ncmode_minimal.o: ../osd_ncmode_minimal.c
75
	$(CC) $(INCLUDES) $(CFLAGS) -c  $<
75
	$(CC) $(INCLUDES) $(CFLAGS) -c  $<
76
 
76
 
77
osd_fcmode_default.o: ../osd_fcmode_default.c
77
osd_fcmode_default.o: ../osd_fcmode_default.c
78
	$(CC) $(INCLUDES) $(CFLAGS) -c  $<
78
	$(CC) $(INCLUDES) $(CFLAGS) -c  $<
-
 
79
 
-
 
80
osd_fcmode_jopl.o: ../osd_fcmode_jopl.c
-
 
81
	$(CC) $(INCLUDES) $(CFLAGS) -c  $<
79
	
82
	
80
characters.o: ../characters.c
83
characters.o: ../characters.c
81
	$(CC) $(INCLUDES) $(CFLAGS) -c  $<
84
	$(CC) $(INCLUDES) $(CFLAGS) -c  $<
82
 
85
 
83
##Link
86
##Link
Line 102... Line 105...
102
clean:
105
clean:
103
	-rm -rf $(OBJECTS) C-OSD.elf dep/* C-OSD.hex C-OSD.eep C-OSD.lss C-OSD.map
106
	-rm -rf $(OBJECTS) C-OSD.elf dep/* C-OSD.hex C-OSD.eep C-OSD.lss C-OSD.map
104
 
107
 
105
 
108
 
106
## Other dependencies
109
## Other dependencies
107
-include $(shell mkdir dep 2>/dev/null) $(wildcard dep/*)
-
 
108
110
-include $(shell mkdir dep 2>/dev/null) $(wildcard dep/*)
-
 
111