summaryrefslogtreecommitdiffstats
path: root/tools/database
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2009-02-26 10:20:28 +0000
committerDaniel Stenberg <daniel@haxx.se>2009-02-26 10:20:28 +0000
commitaf59e2ac3114a16e25a76c611a179670b101c0b1 (patch)
tree816dbde36c57b92b5c4573963c3fbcf583100f4a /tools/database
parent8bdea23b888422a31c61276dd196091cf773d8b9 (diff)
downloadrockbox-af59e2ac3114a16e25a76c611a179670b101c0b1.tar.gz
rockbox-af59e2ac3114a16e25a76c611a179670b101c0b1.tar.bz2
rockbox-af59e2ac3114a16e25a76c611a179670b101c0b1.zip
made 'make' in tools/database work again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20109 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools/database')
-rw-r--r--tools/database/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/tools/database/Makefile b/tools/database/Makefile
index 88b92125ea..2c20bb7d25 100644
--- a/tools/database/Makefile
+++ b/tools/database/Makefile
@@ -1,4 +1,6 @@
+ifndef V
SILENT = @
+endif
INCLUDE = -I../../firmware/export \
-I../../apps -I../../uisimulator/sdl -I/usr/include/SDL
FIRMINC = -I../../firmware/include -fno-builtin
@@ -12,7 +14,7 @@ SRC = database.o tagcache.o replaygain.o \
a52.o mp3.o adx.o mp4.o aiff.o mpc.o ape.o ogg.o \
asap.o sid.o asf.o spc.o flac.o vorbis.o wave.o \
mod.o wavpack.o monkeys.o \
- logf.o unicode.o ctype.o structec.o crc32.o io.o
+ logf.o unicode.o ctype.o structec.o crc32.o io.o misc.o
OBJ = $(SRC:.c=.o)
@@ -20,7 +22,9 @@ OBJ = $(SRC:.c=.o)
VPATH = ../../apps ../../apps/metadata ../../firmware/common ../../firmware/ \
../../uisimulator/common
-all: database
+TARGET= database
+
+all: $(TARGET)
%.o : ../../uisimulator/common/%.c
@echo CC $(<F)
@@ -35,4 +39,4 @@ database: $(OBJ)
$(SILENT)$(CC) -g -ldl -o $@ $+
clean:
- rm $(OBJ)
+ rm -f $(OBJ) $(TARGET)