4 INCLUDE
= -I..
/..
/firmware
/export \
5 -I..
/..
/apps
-I..
/..
/apps
/gui
-I..
/..
/uisimulator
/sdl
-I
/usr
/include/SDL
6 FIRMINC
= -I..
/..
/firmware
/include -fno-builtin
7 DEFINES
= -D__PCTOOL__
-DHAVE_TAGCACHE
-DSIMULATOR
-DCONFIG_CODEC
=1 \
8 -DROCKBOX_LITTLE_ENDIAN
-DROCKBOX_DIR
=\".rockbox
\" -DROCKBOX_HAS_LOGF \
10 CFLAGS
= -g
$(INCLUDE
) $(DEFINES
) -Wno-pointer-sign
12 SRC
= database.c tagcache.c replaygain.c \
13 metadata.c metadata_common.c mp3data.c \
14 a52.c mp3.c adx.c mp4.c aiff.c mpc.c ape.c ogg.c \
15 asap.c sid.c asf.c spc.c flac.c vorbis.c wave.c \
16 mod.c wavpack.c monkeys.c
rm.c nsf.c smaf.c \
17 logf.c unicode.c ctype.c structec.c crc32.c io.c \
18 misc.c strlcpy.c fixedpoint.c
22 # source code search path
23 VPATH
= ..
/..
/apps ..
/..
/apps
/metadata ..
/..
/firmware
/common ..
/..
/firmware
/ \
24 ..
/..
/uisimulator
/common
30 %.o
: ..
/..
/uisimulator
/common
/%.c
32 $(SILENT
)$(CC
) $(CFLAGS
) -c
-o
$@
$<
36 $(SILENT
)$(CC
) $(FIRMINC
) $(CFLAGS
) -c
-o
$@
$<
40 $(SILENT
)$(CC
) -g
-ldl
-o
$@
$+
43 rm -f
$(OBJ
) $(TARGET
)