]> Shamusworld >> Repos - rln/commitdiff
Added optimization flags to makefile
authorShamus Hammons <jlhamm@acm.org>
Thu, 14 Feb 2013 19:24:21 +0000 (13:24 -0600)
committerShamus Hammons <jlhamm@acm.org>
Thu, 14 Feb 2013 19:24:21 +0000 (13:24 -0600)
makefile

index e784557287dae6fbee56df1d9bc33828ccde7ddb..4e01425eee880e37d725232aef0a89902b30afad 100644 (file)
--- a/makefile
+++ b/makefile
@@ -9,11 +9,11 @@ LIBS =
 
 OSTYPE := $(shell uname -a)
 
-ifeq "$(findstring Msys,$(OSTYPE))" "Msys"                     # Win32
+ifeq "$(findstring Msys,$(OSTYPE))" "Msys"     # Win32
 
 OSDEFINE   := WIN32
 
-else                                                                                   # ???
+else           # ???
 
 OSDEFINE   := __GCCUNIX__
 
@@ -23,7 +23,7 @@ endif
 # Change this to -DWIN32 for Windows :-)
 #CFLAGS = -g -I. -D__GCCUNIX__
 #CFLAGS = -g -I. -DWIN32
-CFLAGS = -g -I. -D$(OSDEFINE)
+CFLAGS = -g -I. -D$(OSDEFINE) -O2
 
 SRCS = rln.c