Subversion Repositories EDIS_Ignition

Rev

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

Rev 3 Rev 4
Line 1... Line 1...
1
##########################################################################################################################
1
##########################################################################################################################
2
# File automatically-generated by tool: [projectgenerator] version: [3.16.0] date: [Wed Feb 08 20:10:15 GMT 2023] 
2
# File automatically-generated by tool: [projectgenerator] version: [3.16.0] date: [Mon Feb 13 18:52:17 GMT 2023] 
3
##########################################################################################################################
3
##########################################################################################################################
4
 
4
 
5
# ------------------------------------------------
5
# ------------------------------------------------
6
# Generic Makefile (based on gcc)
6
# Generic Makefile (based on gcc)
7
#
7
#
Line 22... Line 22...
22
# debug build?
22
# debug build?
23
DEBUG = 1
23
DEBUG = 1
24
# optimization
24
# optimization
25
OPT = -Og
25
OPT = -Og
26
 
26
 
27
 
-
 
28
#######################################
27
#######################################
29
# paths
28
# paths
30
#######################################
29
#######################################
31
# Build path
30
# Build path
32
BUILD_DIR = build
31
BUILD_DIR = build
Line 208... Line 207...
208
	$(CXX) -c $(CXXFLAGS) -Wa,-a,-ad,-alms=$(BUILD_DIR)/$(notdir $(<:.c=.lst)) $< -o $@
207
	$(CXX) -c $(CXXFLAGS) -Wa,-a,-ad,-alms=$(BUILD_DIR)/$(notdir $(<:.c=.lst)) $< -o $@
209
 
208
 
210
$(BUILD_DIR)/%.o: %.c Makefile | $(BUILD_DIR) 
209
$(BUILD_DIR)/%.o: %.c Makefile | $(BUILD_DIR) 
211
	$(CC) -c $(CFLAGS) -Wa,-a,-ad,-alms=$(BUILD_DIR)/$(notdir $(<:.c=.lst)) $< -o $@
210
	$(CC) -c $(CFLAGS) -Wa,-a,-ad,-alms=$(BUILD_DIR)/$(notdir $(<:.c=.lst)) $< -o $@
212
 
211
 
-
 
212
 
213
$(BUILD_DIR)/%.o: %.s Makefile | $(BUILD_DIR)
213
$(BUILD_DIR)/%.o: %.s Makefile | $(BUILD_DIR)
214
	$(AS) -c $(CFLAGS) $< -o $@
214
	$(AS) -c $(CFLAGS) $< -o $@
215
 
215
 
216
$(BUILD_DIR)/$(TARGET).elf: $(OBJECTS) Makefile
216
$(BUILD_DIR)/$(TARGET).elf: $(OBJECTS) Makefile
217
	$(CC) $(OBJECTS) $(LDFLAGS) -o $@
217
	$(CC) $(OBJECTS) $(LDFLAGS) -o $@