Merge git+ssh://git.asbjorn.biz/rapper
authoromegasteffy <omegasteffy@gmail.com>
Thu, 4 Nov 2010 20:55:14 +0000 (21:55 +0100)
committeromegasteffy <omegasteffy@gmail.com>
Thu, 4 Nov 2010 20:55:14 +0000 (21:55 +0100)
lpc176x/.gitignore [new file with mode: 0644]
lpc176x/Makefile [new file with mode: 0644]

diff --git a/lpc176x/.gitignore b/lpc176x/.gitignore
new file mode 100644 (file)
index 0000000..90d2167
--- /dev/null
@@ -0,0 +1,3 @@
+*.o
+*.swp
+main
diff --git a/lpc176x/Makefile b/lpc176x/Makefile
new file mode 100644 (file)
index 0000000..fe29076
--- /dev/null
@@ -0,0 +1,20 @@
+CROSS_COMPILE ?= arm-none-eabi
+CC=$(CROSS_COMPILE)-gcc
+LD=$(CROSS_COMPILE)-ld
+AR=$(CROSS_COMPILE)-ar
+AS=$(CROSS_COMPILE)-as
+STRINGS=$(CROSS_COMPILE)-strings
+STRIP=$(CROSS_COMPILE)-strip
+OBJCOPY=$(CROSS_COMPILE)-objcopy
+OBJDUMP=$(CROSS_COMPILE)-objdump
+
+LDFLAGS=-nostdlib
+
+ALL=main
+OBJS=main.o sysinit.o
+
+$(ALL): $(OBJS)
+
+.PHONY: clean
+clean:
+       rm -f $(ALL) $(OBJS)