This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux: Make file

Other Parts Discussed in Thread: MSP430G2553

Tool/software: Linux

Hi,

I wrote a code for one of my projects in c i am using  MSP430G2553 ,i also written a make file for the same but while compiling the code it prompts like

"cannot open linker script file memory.x: No such file or directory", but i have the 'ld' file in /bin folder

my make file is 

objects = main.o interrupt.o msp430_g2553_gpio.o msp430_g2553_clk.o spi.o uart.o
VPATH = src
CFLAGS = -I include


a.out : $(objects)

msp430-gcc $(CFLAGS) -o $@ $^
main.o: main.c

msp430-gcc $(CFLAGS) -c $<
interrupt.o : interrupt.c

msp430-gcc $(CFLAGS) -c $<

msp430_g2553_gpio.o : msp430_g2553_gpio.c

msp430-gcc $(CFLAGS) -c $<
msp430_g2553_clk.o : msp430_g2553_clk.c

msp430-gcc $(CFLAGS) -c $<

spi.o : spi.c

msp430-gcc $(CFLAGS) -c $<
uart.o : uart.c

msp430-gcc $(CFLAGS) -c $<
clean:

rm $(objects) a.out

 I am using ubuntu16.04 34 bit please help me to solve this

**Attention** This is a public forum