From: Asbjørn Sloth Tønnesen Date: Thu, 4 Nov 2010 20:33:28 +0000 (+0000) Subject: Makefile X-Git-Url: http://git.asbjorn.biz/?a=commitdiff_plain;h=0f0d6f3b61ce5995005b2b137738877c56795c52;p=rapper.git 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 + +