Make it blink with D7 and D8
[rapper.git] / lpc176x / Makefile
1 CROSS_COMPILE ?= arm-none-eabi
2 CC=$(CROSS_COMPILE)-gcc
3 LD=$(CROSS_COMPILE)-ld
4 AR=$(CROSS_COMPILE)-ar
5 AS=$(CROSS_COMPILE)-as
6 STRINGS=$(CROSS_COMPILE)-strings
7 STRIP=$(CROSS_COMPILE)-strip
8 OBJCOPY=$(CROSS_COMPILE)-objcopy
9 OBJDUMP=$(CROSS_COMPILE)-objdump
10
11 LDFLAGS=-nostdlib
12
13 ALL=main
14 OBJS=main.o sysinit.o
15
16 $(ALL): $(OBJS)
17
18 .PHONY: clean
19 clean:
20         rm -f $(ALL) $(OBJS)