From c91ff9668142a9d0aac0bc364ccaf40611fa9c72 Mon Sep 17 00:00:00 2001 From: Håkon Nessjøen Date: Thu, 23 Dec 2010 15:54:40 +0100 Subject: Cleaned up code and added -Wall to the compiler flags. Moved packet types over to enums for more ease of use. --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3