Merge branch 'isr_test' of git://github.com/theStack/ppcskel into isr_test
[ppcskel.git] / Makefile
1 include broadway.mk
2
3 DEFINES = -DLACKS_SYS_TYPES_H -DLACKS_ERRNO_H -DLACKS_STDLIB_H -DLACKS_STRING_H -DLACKS_STRINGS_H -DLACKS_UNISTD_H -DCAN_HAZ_IRQ
4 LDSCRIPT = mini.ld
5 LIBS = -lgcc
6
7 TARGET = ppcboot.elf
8
9 OBJS = realmode.o crt0.o main.o string.o sync.o time.o printf.o input.o \
10         exception.o exception_2200.o malloc.o gecko.o video_low.o \
11         ipc.o mini_ipc.o nandfs.o ff.o diskio.o fat.o font.o console.o \
12         ohci.o irq.o
13
14 include common.mk
15
16 upload: $(TARGET)
17         @$(WIIDEV)/bin/bootmii -p $<
18
19 .PHONY: upload
20