Archived
1
0
Fork 0

Initial commit

This commit is contained in:
Henrik Hautakoski 2011-09-24 16:35:45 +02:00
commit 836a7983c1
4 changed files with 136 additions and 0 deletions

23
Makefile Normal file
View file

@ -0,0 +1,23 @@
CC = msp430-gcc
CFLAGS = -Os -Wall -g -mmcu=msp430x2012
LD = $(CC)
LDFLAGS =
PROGRAMS = led1.elf led2.elf
.PHONY : clean distclean
all : $(PROGRAMS)
led1.elf : led1.o
led2.elf : led2.o
%.elf :
$(LD) -o $@ $^
clean :
$(RM) *.o
distclean : clean
$(RM) $(PROGRAMS)