forked from len0rd/rockbox
make the compiles A LOT more picky and pedantic
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17061 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
afecfe46f3
commit
1031a5731c
1 changed files with 15 additions and 15 deletions
|
@ -6,7 +6,7 @@
|
|||
# \/ \/ \/ \/ \/
|
||||
# $Id$
|
||||
#
|
||||
CFLAGS := -O -ansi -g
|
||||
CFLAGS := -O -g -W -Wall -Wshadow -pedantic
|
||||
LDFLAGS := -g
|
||||
|
||||
.PHONY: rbspeexenc uclpack
|
||||
|
@ -37,45 +37,45 @@ iaudio_bl_flash.c iaudio_bl_flash.h: iaudio_bl_flash.bmp bmp2rb
|
|||
sh2d: sh2d.c
|
||||
|
||||
bmp2rb: bmp2rb.c
|
||||
$(SILENT)$(CC) -DAPPLICATION_NAME=\"$@\" -g $+ -o $@
|
||||
$(SILENT)$(CC) -DAPPLICATION_NAME=\"$@\" $(CFLAGS) $+ -o $@
|
||||
|
||||
rdf2binary: rdf2binary.c
|
||||
$(SILENT)$(CC) -g $+ -o $@
|
||||
$(SILENT)$(CC) $(CFLAGS) $+ -o $@
|
||||
|
||||
mkboot: mkboot.c
|
||||
$(SILENT)$(CC) -g $+ -o $@
|
||||
$(SILENT)$(CC) $(CFLAGS) $+ -o $@
|
||||
|
||||
mktccboot: mktccboot.c telechips.o
|
||||
$(SILENT)$(CC) -g $+ -o $@
|
||||
$(SILENT)$(CC) $(CFLAGS) $+ -o $@
|
||||
|
||||
mknkboot: mknkboot.c
|
||||
$(SILENT)$(CC) -g $+ -o $@
|
||||
$(SILENT)$(CC) $(CFLAGS) $+ -o $@
|
||||
|
||||
lngdump: lngdump.c
|
||||
$(SILENT)$(CC) -g $+ -o $@
|
||||
$(SILENT)$(CC) $(CFLAGS) $+ -o $@
|
||||
|
||||
ipod_fw: ipod_fw.c
|
||||
$(SILENT)$(CC) -g $+ -o $@
|
||||
$(SILENT)$(CC) $(CFLAGS) $+ -o $@
|
||||
|
||||
database: database.c ../apps/tagcache.c ../apps/metadata.c \
|
||||
../firmware/id3.c ../firmware/common/unicode.c \
|
||||
../firmware/common/crc32.c ../uisimulator/common/io.c \
|
||||
../firmware/mp3data.c ../firmware/logf.c ../firmware/replaygain.c \
|
||||
../firmware/common/structec.c
|
||||
$(SILENT)$(CC) -g -I../firmware/export -iquote ../firmware/include \
|
||||
$(SILENT)$(CC) $(CFLAGS) -I../firmware/export -iquote ../firmware/include \
|
||||
-D__PCTOOL__ -DHAVE_TAGCACHE -DROCKBOX_HAS_LOGF -DSIMULATOR \
|
||||
-DCONFIG_CODEC=1 -ldl -I../apps $+ -o $@
|
||||
|
||||
checkwps: checkwps.c ../apps/gui/wps_parser.c ../apps/gui/wps_debug.c ../firmware/common/ctype.c ../apps/misc.c ../apps/recorder/bmp.c
|
||||
$(SILENT)$(CC) -g -I ../apps/gui -I../firmware/export \
|
||||
$(SILENT)$(CC) $(CFLAGS) -I ../apps/gui -I../firmware/export \
|
||||
-D__PCTOOL__ -DDEBUG -DROCKBOX_HAS_LOGF -DIPOD_COLOR -D ROCKBOX_DIR_LEN -D WPS_DIR=\".\" \
|
||||
-I../apps -I../firmware/target/arm/ipod -I../firmware/include $+ -o $@
|
||||
|
||||
convbdf: convbdf.c
|
||||
$(SILENT)$(CC) -g $+ -o $@
|
||||
$(SILENT)$(CC) $(CFLAGS) $+ -o $@
|
||||
|
||||
codepages: codepages.c codepage_tables.c
|
||||
$(SILENT)$(CC) -g $+ -o $@
|
||||
$(SILENT)$(CC) $(CFLAGS) $+ -o $@
|
||||
|
||||
player_unifont: player_unifont.c ../firmware/drivers/lcd-charset-player.c
|
||||
$(SILENT)$(CC) -DARCHOS_PLAYER -D__PCTOOL__ -I../firmware/export $+ -o $@
|
||||
|
@ -87,13 +87,13 @@ rbspeexenc:
|
|||
$(SILENT)$(MAKE) -C rbspeex
|
||||
|
||||
wavtrim: wavtrim.c
|
||||
$(SILENT)$(CC) -g $+ -o $@
|
||||
$(SILENT)$(CC) $(CFLAGS) $+ -o $@
|
||||
|
||||
voicefont: voicefont.c
|
||||
$(SILENT)$(CC) -g $+ -o $@
|
||||
$(SILENT)$(CC) $(CFLAGS) $+ -o $@
|
||||
|
||||
usb_benchmark: usb_benchmark.c
|
||||
$(SILENT)$(CC) -g -lusb $+ -o $@
|
||||
$(SILENT)$(CC) $(CFLAGS) -lusb $+ -o $@
|
||||
|
||||
clean:
|
||||
@echo "Cleaning tools"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue