Subversion Repositories Projects

Rev

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

Rev 497 Rev 514
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
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
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 65... Line 65...
65
buttons.o: ../buttons.c
65
buttons.o: ../buttons.c
66
	$(CC) $(INCLUDES) $(CFLAGS) -c  $<
66
	$(CC) $(INCLUDES) $(CFLAGS) -c  $<
67
 
67
 
68
ppm.o: ../ppm.c
68
ppm.o: ../ppm.c
69
	$(CC) $(INCLUDES) $(CFLAGS) -c  $<
69
	$(CC) $(INCLUDES) $(CFLAGS) -c  $<
70
	
70
 
71
osd_ncmode_default.o: ../osd_ncmode_default.c
71
osd_ncmode_default.o: ../osd_ncmode_default.c
72
	$(CC) $(INCLUDES) $(CFLAGS) -c  $<
72
	$(CC) $(INCLUDES) $(CFLAGS) -c  $<
73
	
73
 
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
characters.o: ../characters.c
-
 
81
	$(CC) $(INCLUDES) $(CFLAGS) -c  $<
79
 
82
 
80
##Link
83
##Link
81
$(TARGET): $(OBJECTS)
84
$(TARGET): $(OBJECTS)
82
	 $(CC) $(LDFLAGS) $(OBJECTS) $(LINKONLYOBJECTS) $(LIBDIRS) $(LIBS) -o $(TARGET)
85
	 $(CC) $(LDFLAGS) $(OBJECTS) $(LINKONLYOBJECTS) $(LIBDIRS) $(LIBS) -o $(TARGET)
83
 
86