Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Aug 11th, 2010  |  syntax: Make  |  size: 0.27 KB  |  views: 177  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
This paste has a previous version, view the difference. Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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"