Thanks to all who helped me with the make file information.

I managd to cobble together a crude makefile implementation which produced a
valid *.elf file for GDB-Insight.

Here it is:

**********************************

NAME=MiniRF.elf

CPU     = msp430x1121

CC      = msp430-gcc
COPT    = -mmcu=${CPU} -O2 -Wall -g

MiniRF.elf : tx.o int1switch.o
    ${CC} -mmcu=${CPU} -Wall -O2 -o MiniRF.elf tx.o int1switch.o

tx.o : tx.c tx.h tx.inc sw1const.inc
    ${CC} ${COPT} -c tx.c

int1switch.o : int1switch.c int1switch.h tx.inc sw1const.inc
    ${CC} ${COPT} -c int1switch.c

clean:
 rm -f ${NAME} ${NAME}.a43 ${NAME}.lst ${NAME}.ini *.o

**************************************************

Comments?

Thanks,
Mark


Reply via email to