Archived
1
0
Fork 0
This repository has been archived on 2026-04-03. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
msp430/Makefile
Henrik Hautakoski e3aa56071c adding led3.c
2011-10-12 18:52:14 +02:00

24 lines
303 B
Makefile

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