summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSebastian Reichel <sre@ring0.de>2014-04-09 09:05:41 +0200
committerSebastian Reichel <sre@ring0.de>2014-04-09 09:05:41 +0200
commit8f6f74aa0efd9ddf2a09110afe648311a10c3f88 (patch)
tree2a5b04d9181c6390b9639bfe5576bdab846edad9 /src
parentfa4cef7354122a85d7a029de267f1d670d8d9138 (diff)
downloadserial-barcode-scanner-8f6f74aa0efd9ddf2a09110afe648311a10c3f88.tar.bz2
silence C-Compiler warnings
Diffstat (limited to 'src')
-rw-r--r--src/audio/Makefile2
-rw-r--r--src/backup/Makefile2
-rw-r--r--src/config/Makefile2
-rw-r--r--src/curses-ui/Makefile2
-rw-r--r--src/database/Makefile2
-rw-r--r--src/invoice/Makefile2
-rw-r--r--src/mail/Makefile2
-rw-r--r--src/pdf-invoice/Makefile4
-rw-r--r--src/pgp/Makefile2
-rw-r--r--src/scanner-session/Makefile2
-rw-r--r--src/serial-device/Makefile2
-rw-r--r--src/web/Makefile2
12 files changed, 13 insertions, 13 deletions
diff --git a/src/audio/Makefile b/src/audio/Makefile
index b31dc6e..fcb7e1b 100644
--- a/src/audio/Makefile
+++ b/src/audio/Makefile
@@ -1,7 +1,7 @@
all: audio
audio: main.vala audio.vala audio-interface.vala ../config/config-interface.vala
- valac -o $@ --pkg gstreamer-0.10 --pkg gio-2.0 $^
+ valac -X -w -o $@ --pkg gstreamer-0.10 --pkg gio-2.0 $^
clean:
rm -rf audio
diff --git a/src/backup/Makefile b/src/backup/Makefile
index 5ef9d87..c263cc4 100644
--- a/src/backup/Makefile
+++ b/src/backup/Makefile
@@ -1,7 +1,7 @@
all: backup
backup: main.vala ../mail/mailer-interface.vala ../config/config-interface.vala
- valac -o $@ --pkg gio-2.0 $^
+ valac -X -w -o $@ --pkg gio-2.0 $^
clean:
rm -f backup
diff --git a/src/config/Makefile b/src/config/Makefile
index 0e81ee9..fcf7b69 100644
--- a/src/config/Makefile
+++ b/src/config/Makefile
@@ -1,7 +1,7 @@
all: config
config: main.vala config.vala config-interface.vala
- valac -o $@ --pkg gio-2.0 $^
+ valac -X -w -o $@ --pkg gio-2.0 $^
clean:
rm -rf config
diff --git a/src/curses-ui/Makefile b/src/curses-ui/Makefile
index 37aacc6..86a2ee4 100644
--- a/src/curses-ui/Makefile
+++ b/src/curses-ui/Makefile
@@ -1,7 +1,7 @@
all: curses-ui
curses-ui: clock.vala curses-ui.vala dialog.vala logo.vala main.vala message_box.vala numbers.vala status.vala ../audio/audio-interface.vala ../scanner-session/scannersession-interface.vala
- valac -o $@ --pkg curses -X -lncursesw --pkg posix --pkg gio-2.0 $^
+ valac -X -w -o $@ --pkg curses -X -lncursesw --pkg posix --pkg gio-2.0 $^
clean:
rm -rf curses-ui
diff --git a/src/database/Makefile b/src/database/Makefile
index b050bca..a8dc5d0 100644
--- a/src/database/Makefile
+++ b/src/database/Makefile
@@ -1,7 +1,7 @@
all: database
database: main.vala database.vala db-interface.vala ../config/config-interface.vala ../price.vapi
- valac -o $@ --pkg sqlite3 --pkg gee-1.0 --pkg gio-2.0 $^
+ valac -X -w -o $@ --pkg sqlite3 --pkg gee-1.0 --pkg gio-2.0 $^
clean:
rm -rf db
diff --git a/src/invoice/Makefile b/src/invoice/Makefile
index 8b005ec..37c4e52 100644
--- a/src/invoice/Makefile
+++ b/src/invoice/Makefile
@@ -1,7 +1,7 @@
all: invoice
invoice: main.vala invoice.vala ../mail/mailer-interface.vala ../pdf-invoice/pdf-invoice-interface.vala ../database/db-interface.vala ../config/config-interface.vala ../price.vapi
- valac -o $@ --pkg gio-2.0 $^
+ valac -X -w -o $@ --pkg gio-2.0 $^
clean:
rm -f invoice
diff --git a/src/mail/Makefile b/src/mail/Makefile
index 5250e62..5066fee 100644
--- a/src/mail/Makefile
+++ b/src/mail/Makefile
@@ -1,7 +1,7 @@
all: mailer
mailer: main.vala mailer.vala mail.vala mailer-interface.vala ../config/config-interface.vala
- valac -o $@ --vapidir=../../vapi --pkg posix --pkg libesmtp --pkg gio-2.0 --pkg gmime-2.6 -X -D_GNU_SOURCE -X -lesmtp -X -lssl -X -lcrypto -X -ldl -X -pthread $^
+ valac -X -w -o $@ --vapidir=../../vapi --pkg posix --pkg libesmtp --pkg gio-2.0 --pkg gmime-2.6 -X -D_GNU_SOURCE -X -lesmtp -X -lssl -X -lcrypto -X -ldl -X -pthread $^
clean:
rm -f mailer
diff --git a/src/pdf-invoice/Makefile b/src/pdf-invoice/Makefile
index 0e930fd..88d521e 100644
--- a/src/pdf-invoice/Makefile
+++ b/src/pdf-invoice/Makefile
@@ -1,10 +1,10 @@
all: pdf-invoice
pdf-invoice: main.vala pdf-invoice.vala pdf-invoice-interface.vala ../config/config-interface.vala ../database/db-interface.vala ../price.vapi
- valac -g -o $@ --pkg pangocairo --pkg librsvg-2.0 --pkg posix --pkg gdk-2.0 --pkg gio-2.0 $^
+ valac -X -w -g -o $@ --pkg pangocairo --pkg librsvg-2.0 --pkg posix --pkg gdk-2.0 --pkg gio-2.0 $^
test: pdf-invoice-interface.vala test.vala ../price.vapi
- valac -o $@ --pkg gio-2.0 $^
+ valac -X -w -o $@ --pkg gio-2.0 $^
clean:
rm -rf pdf-invoice test
diff --git a/src/pgp/Makefile b/src/pgp/Makefile
index 6bcb535..95436b2 100644
--- a/src/pgp/Makefile
+++ b/src/pgp/Makefile
@@ -1,7 +1,7 @@
all: pgp
pgp: main.vala pgp.vala pgp-interface.vala ../config/config-interface.vala
- valac -o $@ --vapidir ../../vapi -X -lgpgme --pkg gpgme --pkg gio-2.0 --pkg libarchive $^
+ valac -X -w -o $@ --vapidir ../../vapi -X -lgpgme --pkg gpgme --pkg gio-2.0 --pkg libarchive $^
clean:
rm -rf pgp
diff --git a/src/scanner-session/Makefile b/src/scanner-session/Makefile
index ea91d3a..cdeaa62 100644
--- a/src/scanner-session/Makefile
+++ b/src/scanner-session/Makefile
@@ -1,7 +1,7 @@
all: scanner-session
scanner-session: main.vala scannersession.vala scannersession-interface.vala ../database/db-interface.vala ../serial-device/serial-device-interface.vala ../audio/audio-interface.vala ../price.vapi
- valac -o $@ --pkg gio-2.0 $^
+ valac -X -w -o $@ --pkg gio-2.0 $^
clean:
rm -rf scanner-session
diff --git a/src/serial-device/Makefile b/src/serial-device/Makefile
index 952b3a1..2cbf1d6 100644
--- a/src/serial-device/Makefile
+++ b/src/serial-device/Makefile
@@ -1,7 +1,7 @@
all: serial-device
serial-device: main.vala serial-device.vala serial-device-interface.vala ../config/config-interface.vala
- valac -o $@ --pkg linux --pkg posix --pkg gio-2.0 $^
+ valac -X -w -o $@ --pkg linux --pkg posix --pkg gio-2.0 $^
clean:
rm -rf serial-device
diff --git a/src/web/Makefile b/src/web/Makefile
index 3737582..d4f7369 100644
--- a/src/web/Makefile
+++ b/src/web/Makefile
@@ -1,7 +1,7 @@
all: web
web: main.vala web.vala websession.vala csv.vala template.vala ../database/db-interface.vala ../pgp/pgp-interface.vala ../price.vapi ../config/config-interface.vala
- valac -o $@ --vapidir=../../vapi --enable-experimental --pkg gee-1.0 --pkg gio-2.0 --pkg libsoup-2.4 --pkg posix $^
+ valac -X -w -o $@ --vapidir=../../vapi --enable-experimental --pkg gee-1.0 --pkg gio-2.0 --pkg libsoup-2.4 --pkg posix $^
clean:
rm -rf web