summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorHåkon Nessjøen <haakon.nessjoen@gmail.com>2010-12-23 15:54:40 +0100
committerHåkon Nessjøen <haakon.nessjoen@gmail.com>2010-12-23 15:54:40 +0100
commitc91ff9668142a9d0aac0bc364ccaf40611fa9c72 (patch)
tree980304707df6d5e7820208db017dbfb9ccdf0384 /Makefile
parent20746581ba3e8c6cda0851e47b27528401168247 (diff)
downloadMAC-Telnet-c91ff9668142a9d0aac0bc364ccaf40611fa9c72.tar.gz
MAC-Telnet-c91ff9668142a9d0aac0bc364ccaf40611fa9c72.zip
Cleaned up code and added -Wall to the compiler flags. Moved packet types over to enums for more ease of use.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index d6e6d7b..ce31dd4 100644
--- a/Makefile
+++ b/Makefile
@@ -15,10 +15,10 @@ install: all
chmod 600 $(DESTDIR)/etc/mactelnetd.users
mactelnet: config.h udp.h udp.c mactelnet.c mactelnet.h protocol.c protocol.h console.c console.h devices.c devices.h md5.c md5.h
- gcc -g -DUSERSFILE='"/etc/mactelnetd.users"' -o mactelnet mactelnet.c udp.c protocol.c console.c devices.c md5.c
+ gcc -Wall -g -DUSERSFILE='"/etc/mactelnetd.users"' -o mactelnet mactelnet.c udp.c protocol.c console.c devices.c md5.c
mactelnetd: config.h mactelnetd.c udp.h udp.c protocol.c protocol.h console.c console.h users.c users.h md5.c md5.h
- gcc -g -DUSERSFILE='"/etc/mactelnetd.users"' -o mactelnetd mactelnetd.c udp.c protocol.c console.c users.c md5.c
+ gcc -Wall -g -DUSERSFILE='"/etc/mactelnetd.users"' -o mactelnetd mactelnetd.c udp.c protocol.c console.c users.c md5.c
mndp: config.h mndp.c protocol.c protocol.h
- gcc -g -o mndp mndp.c protocol.c
+ gcc -Wall -g -o mndp mndp.c protocol.c