diff options
author | szczys <szczys@hotmail.com> | 2010-11-08 13:10:19 -0600 |
---|---|---|
committer | szczys <szczys@hotmail.com> | 2010-11-08 13:10:19 -0600 |
commit | 30c9b4c926ec2dbcca923e75b1345ceb7f16498b (patch) | |
tree | 74ad90f67590a38e6a194395bb0bbf2461975b4d /Makefile | |
download | launchpad-blink-30c9b4c926ec2dbcca923e75b1345ceb7f16498b.tar.gz launchpad-blink-30c9b4c926ec2dbcca923e75b1345ceb7f16498b.tar.xz launchpad-blink-30c9b4c926ec2dbcca923e75b1345ceb7f16498b.zip |
first commitupstream/master
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..1c1e2c5 --- /dev/null +++ b/Makefile @@ -0,0 +1,14 @@ +CC=msp430-gcc +CFLAGS=-Os -Wall -g -mmcu=msp430x2012 + +OBJS=main.o + + +all: $(OBJS) + $(CC) $(CFLAGS) -o main.elf $(OBJS) + +%.o: %.c + $(CC) $(CFLAGS) -c $< + +clean: + rm -fr main.elf $(OBJS) |