OpenCores
URL https://opencores.org/ocsvn/openmsp430/openmsp430/trunk

Subversion Repositories openmsp430

[/] [openmsp430/] [trunk/] [core/] [sim/] [rtl_sim/] [src-c/] [sandbox/] [makefile] - Diff between revs 76 and 111

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 76 Rev 111
Line 1... Line 1...
# makfile configuration
# makfile configuration
NAME            = sandbox
NAME            = sandbox
OBJECTS         = main.o
OBJECTS         = main.o
CPU             = msp430x1111
#CPU             = msp430x1111
 
 
CFLAGS          = -mmcu=${CPU} -O2 -Wall -g
#CFLAGS          = -mmcu=${CPU} -O2 -Wall -g
 
CFLAGS          = -O2 -Wall -g
 
 
#switch the compiler (for the internal make rules)
#switch the compiler (for the internal make rules)
CC              = msp430-gcc
CC              = msp430-gcc
 
 
 
 
Line 19... Line 20...
#download: download-jtag
#download: download-jtag
#download: download-bsl
#download: download-bsl
 
 
#additional rules for files
#additional rules for files
${NAME}.elf: ${OBJECTS}
${NAME}.elf: ${OBJECTS}
        ${CC} -mmcu=${CPU} -o $@ ${OBJECTS}
        ${CC} -T linker.def -o $@ ${OBJECTS}
 
 
${NAME}.a43: ${NAME}.elf
${NAME}.a43: ${NAME}.elf
        msp430-objcopy -O ihex $^ $@
        msp430-objcopy -O ihex $^ $@
 
 
${NAME}.lst: ${NAME}.elf
${NAME}.lst: ${NAME}.elf

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.