git-svn-id: svn://svn.rockbox.org/rockbox/trunk@201 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Linus Nielsen Feltzing 2002-04-23 20:21:31 +00:00
parent ade48b800f
commit f9389fe9fb
3 changed files with 110 additions and 234 deletions

View file

@ -8,14 +8,13 @@
#
TARGET = stub
OBJS = start.o sh-stub.o
#LIBS = -L/home/linus/sh1/lib/gcc-lib/sh-elf/3.0.4 -lgcc
LIBS = -lgcc
.s.o:
sh-elf-as -o $@ $<
.c.o:
sh-elf-gcc -O -m1 -Wall -c -o $@ $<
sh-elf-gcc -O -I../firmware/drivers -m1 -Wall -c -o $@ $<
$(TARGET).out: $(TARGET).elf
sh-elf-objcopy -O binary $(TARGET).elf $(TARGET).out