]> git.neil.brown.name Git - gta04-gsm-voice-routing.git/commitdiff
Compile with warnings on
authorFlemming Richter Mikkelsen <quatrox@gmail.com>
Mon, 6 Feb 2012 13:42:26 +0000 (14:42 +0100)
committerRadek Polak <psonek2@seznam.cz>
Mon, 6 Feb 2012 13:42:26 +0000 (14:42 +0100)
Credits to Flemming also for finding the problem with bad format
in fprintf.

Makefile

index a0881df514719f9bdb6c60fd81b77d335be7d250..5bf57de5715e14cbe5b3f760bbdbec1563c592cd 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
 all: gsm-voice-routing
 
 gsm-voice-routing: gsm-voice-routing.c
-       gcc -lrt -lasound -lm -ldl -lpthread -o gsm-voice-routing gsm-voice-routing.c
+       gcc -Wall -lrt -lasound -lm -ldl -lpthread -o gsm-voice-routing gsm-voice-routing.c
 
 clean:
        rm -f gsm-voice-routing