edited Makefile
This commit is contained in:
8
Makefile
8
Makefile
@@ -25,6 +25,7 @@ INCLUDEPATH += -IFATFS -IFATFS/shimatta_sdio_driver
|
||||
###################################################################################
|
||||
CC=arm-none-eabi-gcc
|
||||
OBJCOPY=arm-none-eabi-objcopy
|
||||
OBJDUMP=arm-none-eabi-objdump
|
||||
|
||||
|
||||
LFLAGS = -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork
|
||||
@@ -60,7 +61,10 @@ $(target).elf: $(OBJ)
|
||||
|
||||
|
||||
|
||||
.PHONY: qtproject clean mrproper objcopy
|
||||
.PHONY: qtproject clean mrproper objcopy disassemble
|
||||
|
||||
disassemble: $(target).elf
|
||||
$(OBJDUMP) -D -s $< > $(target).lss
|
||||
|
||||
objcopy: $(target).bin $(target).hex
|
||||
|
||||
@@ -68,7 +72,7 @@ mrproper:
|
||||
rm -f $(target).pro
|
||||
|
||||
clean:
|
||||
rm -f $(target).elf $(target).bin $(target).hex $(OBJ) $(mapfile).map
|
||||
rm -f $(target).elf $(target).bin $(target).hex $(OBJ) $(mapfile).map $(target).lss
|
||||
qtproject:
|
||||
echo -e "TEMPLATE = app\nCONFIG -= console app_bundle qt" > $(target).pro
|
||||
echo -e "SOURCES += $(CFILES) $(ASFILES)" >> $(target).pro
|
||||
|
Reference in New Issue
Block a user