summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorszczys <szczys@hotmail.com>2010-11-08 13:10:19 -0600
committerszczys <szczys@hotmail.com>2010-11-08 13:10:19 -0600
commit30c9b4c926ec2dbcca923e75b1345ceb7f16498b (patch)
tree74ad90f67590a38e6a194395bb0bbf2461975b4d /Makefile
downloadlaunchpad-blink-30c9b4c926ec2dbcca923e75b1345ceb7f16498b.tar.gz
launchpad-blink-30c9b4c926ec2dbcca923e75b1345ceb7f16498b.tar.xz
launchpad-blink-30c9b4c926ec2dbcca923e75b1345ceb7f16498b.zip
first commitupstream/master
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
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)