From 0f0d6f3b61ce5995005b2b137738877c56795c52 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Asbj=C3=B8rn=20Sloth=20T=C3=B8nnesen?= Date: Thu, 4 Nov 2010 20:33:28 +0000 Subject: [PATCH] Makefile --- lpc176x/Makefile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 lpc176x/Makefile diff --git a/lpc176x/Makefile b/lpc176x/Makefile new file mode 100644 index 0000000..10c24a4 --- /dev/null +++ b/lpc176x/Makefile @@ -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 + + -- 1.7.10.4