Advertisement
Guest User

Untitled

a guest
Aug 11th, 2010
330
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Make 0.27 KB | None | 0 0
  1. CC=msp430-gcc
  2. CFLAGS=-O2 -g -mmcu=msp430x2012
  3.  
  4. OBJS=main.o
  5.  
  6. all: $(OBJS)
  7.     $(CC) $(CFLAGS) -o main.elf $(OBJS)
  8.  
  9. %.o: %.c
  10.     $(CC) $(CFLAGS) -c $<
  11.  
  12. clean:
  13.     rm -fr main.elf $(OBJS)
  14.  
  15. install: $(OBJS)
  16.     $(CC) $(CFLAGS) -o main.elf $(OBJS)
  17.     mspdebug rf2500 "prog main.elf"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement