Makefile
authorAsbjørn Sloth Tønnesen <asbjorn@asbjorn.biz>
Thu, 4 Nov 2010 20:33:28 +0000 (20:33 +0000)
committerAsbjørn Sloth Tønnesen <asbjorn@asbjorn.biz>
Thu, 4 Nov 2010 20:33:28 +0000 (20:33 +0000)
lpc176x/Makefile [new file with mode: 0644]

diff --git a/lpc176x/Makefile b/lpc176x/Makefile
new file mode 100644 (file)
index 0000000..10c24a4
--- /dev/null
@@ -0,0 +1,19 @@
+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
+
+main: main.o sysinit.o
+main.o: main.c
+sysinit.o: sysinit.c
+
+