summaryrefslogtreecommitdiff
path: root/tools/database
diff options
context:
space:
mode:
Diffstat (limited to 'tools/database')
-rw-r--r--tools/database/Makefile13
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 @@
1SILENT = @
1INCLUDE = -I../../firmware/export \ 2INCLUDE = -I../../firmware/export \
2 -I../../apps -I../../uisimulator/sdl -I/usr/include/SDL 3 -I../../apps -I../../uisimulator/sdl -I/usr/include/SDL
3FIRMINC = -I../../firmware/include -fno-builtin 4FIRMINC = -I../../firmware/include -fno-builtin
@@ -22,16 +23,16 @@ VPATH = ../../apps ../../apps/metadata ../../firmware/common ../../firmware/ \
22all: database 23all: 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
32database: $(OBJ) 33database: $(OBJ)
33 @echo Linking $@ 34 @echo LD $@
34 @$(CC) -g -ldl -o $@ $+ 35 $(SILENT)$(CC) -g -ldl -o $@ $+
35 36
36clean: 37clean:
37 rm $(OBJ) 38 rm $(OBJ)