mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
Added SILENT make option and some output comsmetics.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19455 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
5b9ddb746e
commit
680a5df6fe
1 changed files with 7 additions and 6 deletions
|
@ -1,3 +1,4 @@
|
||||||
|
SILENT = @
|
||||||
INCLUDE = -I../../firmware/export \
|
INCLUDE = -I../../firmware/export \
|
||||||
-I../../apps -I../../uisimulator/sdl -I/usr/include/SDL
|
-I../../apps -I../../uisimulator/sdl -I/usr/include/SDL
|
||||||
FIRMINC = -I../../firmware/include -fno-builtin
|
FIRMINC = -I../../firmware/include -fno-builtin
|
||||||
|
@ -22,16 +23,16 @@ VPATH = ../../apps ../../apps/metadata ../../firmware/common ../../firmware/ \
|
||||||
all: database
|
all: database
|
||||||
|
|
||||||
%.o : ../../uisimulator/common/%.c
|
%.o : ../../uisimulator/common/%.c
|
||||||
@echo $(<F)
|
@echo CC $(<F)
|
||||||
@$(CC) $(CFLAGS) -c -o $@ $<
|
$(SILENT)$(CC) $(CFLAGS) -c -o $@ $<
|
||||||
|
|
||||||
%.o : %.c $<
|
%.o : %.c $<
|
||||||
@echo $(<F)
|
@echo CC $(<F)
|
||||||
@$(CC) $(FIRMINC) $(CFLAGS) -c -o $@ $<
|
$(SILENT)$(CC) $(FIRMINC) $(CFLAGS) -c -o $@ $<
|
||||||
|
|
||||||
database: $(OBJ)
|
database: $(OBJ)
|
||||||
@echo Linking $@
|
@echo LD $@
|
||||||
@$(CC) -g -ldl -o $@ $+
|
$(SILENT)$(CC) -g -ldl -o $@ $+
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm $(OBJ)
|
rm $(OBJ)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue