Makefile
[rapper.git] / lpc176x / Makefile
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
+
+