diff options
author | Björn Stenberg <bjorn@haxx.se> | 2008-12-16 08:57:57 +0000 |
---|---|---|
committer | Björn Stenberg <bjorn@haxx.se> | 2008-12-16 08:57:57 +0000 |
commit | 680a5df6fe5f5e4b2fa08f4a02766c23371004b4 (patch) | |
tree | f9e811a951dc60676124b2dac48bc2b4404e3649 /tools/database/Makefile | |
parent | 5b9ddb746e725f09c1bc7b69a1a3128ddacbc8f3 (diff) | |
download | rockbox-680a5df6fe5f5e4b2fa08f4a02766c23371004b4.tar.gz rockbox-680a5df6fe5f5e4b2fa08f4a02766c23371004b4.zip |
Added SILENT make option and some output comsmetics.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19455 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools/database/Makefile')
-rw-r--r-- | tools/database/Makefile | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/tools/database/Makefile b/tools/database/Makefile index 01416eca0d..88b92125ea 100644 --- a/tools/database/Makefile +++ b/tools/database/Makefile | |||
@@ -1,3 +1,4 @@ | |||
1 | SILENT = @ | ||
1 | INCLUDE = -I../../firmware/export \ | 2 | INCLUDE = -I../../firmware/export \ |
2 | -I../../apps -I../../uisimulator/sdl -I/usr/include/SDL | 3 | -I../../apps -I../../uisimulator/sdl -I/usr/include/SDL |
3 | FIRMINC = -I../../firmware/include -fno-builtin | 4 | FIRMINC = -I../../firmware/include -fno-builtin |
@@ -22,16 +23,16 @@ VPATH = ../../apps ../../apps/metadata ../../firmware/common ../../firmware/ \ | |||
22 | all: database | 23 | all: database |
23 | 24 | ||
24 | %.o : ../../uisimulator/common/%.c | 25 | %.o : ../../uisimulator/common/%.c |
25 | @echo $(<F) | 26 | @echo CC $(<F) |
26 | @$(CC) $(CFLAGS) -c -o $@ $< | 27 | $(SILENT)$(CC) $(CFLAGS) -c -o $@ $< |
27 | 28 | ||
28 | %.o : %.c $< | 29 | %.o : %.c $< |
29 | @echo $(<F) | 30 | @echo CC $(<F) |
30 | @$(CC) $(FIRMINC) $(CFLAGS) -c -o $@ $< | 31 | $(SILENT)$(CC) $(FIRMINC) $(CFLAGS) -c -o $@ $< |
31 | 32 | ||
32 | database: $(OBJ) | 33 | database: $(OBJ) |
33 | @echo Linking $@ | 34 | @echo LD $@ |
34 | @$(CC) -g -ldl -o $@ $+ | 35 | $(SILENT)$(CC) -g -ldl -o $@ $+ |
35 | 36 | ||
36 | clean: | 37 | clean: |
37 | rm $(OBJ) | 38 | rm $(OBJ) |