From 30c9b4c926ec2dbcca923e75b1345ceb7f16498b Mon Sep 17 00:00:00 2001 From: szczys Date: Mon, 8 Nov 2010 13:10:19 -0600 Subject: first commit --- Makefile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Makefile (limited to 'Makefile') 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) -- cgit v1.2.3