mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 05:05:20 -05:00
Replace bootloader object rules with suffix rules.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30607 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
01b36e889c
commit
ccc5f4c4e1
1 changed files with 10 additions and 26 deletions
|
|
@ -10,6 +10,10 @@ BOOT_H = ipod1g2g.h ipod3g.h ipod4g.h ipodcolor.h ipodmini1g.h ipodmini2g.h ipod
|
||||||
# Releases of ipodpatcher are created with "make RELEASE=1". This
|
# Releases of ipodpatcher are created with "make RELEASE=1". This
|
||||||
# enables BOOTOBJS and uses the VERSION string defined in main.c
|
# enables BOOTOBJS and uses the VERSION string defined in main.c
|
||||||
|
|
||||||
|
ifndef V
|
||||||
|
SILENT = @
|
||||||
|
endif
|
||||||
|
|
||||||
ifdef RELEASE
|
ifdef RELEASE
|
||||||
CFLAGS+=-DRELEASE
|
CFLAGS+=-DRELEASE
|
||||||
BOOTOBJS=1
|
BOOTOBJS=1
|
||||||
|
|
@ -79,33 +83,13 @@ ipodpatcher-ppc: $(SRC) ipodio-posix.c $(BOOTSRC)
|
||||||
ipod2c: ipod2c.c
|
ipod2c: ipod2c.c
|
||||||
$(NATIVECC) $(CFLAGS) -o ipod2c ipod2c.c
|
$(NATIVECC) $(CFLAGS) -o ipod2c ipod2c.c
|
||||||
|
|
||||||
ipod1g2g.c: bootloader-ipod1g2g.ipod ipod2c
|
%.c: bootloader-%.ipod ipod2c
|
||||||
./ipod2c bootloader-ipod1g2g.ipod ipod1g2g
|
@echo IPOD2C $<
|
||||||
|
$(SILENT)./ipod2c $< $*
|
||||||
ipod3g.c: bootloader-ipod3g.ipod ipod2c
|
|
||||||
./ipod2c bootloader-ipod3g.ipod ipod3g
|
|
||||||
|
|
||||||
ipod4g.c: bootloader-ipod4g.ipod ipod2c
|
|
||||||
./ipod2c bootloader-ipod4g.ipod ipod4g
|
|
||||||
|
|
||||||
ipodcolor.c: bootloader-ipodcolor.ipod ipod2c
|
|
||||||
./ipod2c bootloader-ipodcolor.ipod ipodcolor
|
|
||||||
|
|
||||||
ipodmini1g.c: bootloader-ipodmini1g.ipod ipod2c
|
|
||||||
./ipod2c bootloader-ipodmini1g.ipod ipodmini1g
|
|
||||||
|
|
||||||
ipodmini2g.c: bootloader-ipodmini2g.ipod ipod2c
|
|
||||||
./ipod2c bootloader-ipodmini2g.ipod ipodmini2g
|
|
||||||
|
|
||||||
ipodnano1g.c: bootloader-ipodnano1g.ipod ipod2c
|
|
||||||
./ipod2c bootloader-ipodnano1g.ipod ipodnano1g
|
|
||||||
|
|
||||||
ipodvideo.c: bootloader-ipodvideo.ipod ipod2c
|
|
||||||
./ipod2c bootloader-ipodvideo.ipod ipodvideo
|
|
||||||
|
|
||||||
ipodnano2g.c: bootloader-ipodnano2g.ipodx ipod2c
|
|
||||||
./ipod2c bootloader-ipodnano2g.ipodx ipodnano2g
|
|
||||||
|
|
||||||
|
%.c: bootloader-%.ipodx ipod2c
|
||||||
|
@echo IPOD2C $<
|
||||||
|
$(SILENT)./ipod2c $< $*
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f ipodpatcher.exe ipodpatcher-rc.o ipodpatcher-mac ipodpatcher-i386 ipodpatcher-ppc ipodpatcher ipod2c *~ $(BOOTSRC) $(BOOT_H)
|
rm -f ipodpatcher.exe ipodpatcher-rc.o ipodpatcher-mac ipodpatcher-i386 ipodpatcher-ppc ipodpatcher ipod2c *~ $(BOOTSRC) $(BOOT_H)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue