diff --git a/configure b/configure index 522a7493bd..02945486e4 100755 --- a/configure +++ b/configure @@ -536,7 +536,7 @@ fi # ******************************************* # * figure out the configure options: # cflags=-O2 -cflags=-g +cflags=-g -Wall lflags=-O2 # Check whether --enable-debug or --disable-debug was given. if test "${enable_debug+set}" = set; then diff --git a/configure.in b/configure.in index 5021df6aeb..9e8f7fc57d 100644 --- a/configure.in +++ b/configure.in @@ -3,7 +3,7 @@ AC_INIT(src/motif/main.c) # ******************************************* # * figure out the configure options: # cflags=-O2 -cflags=-g +cflags=-g -Wall lflags=-O2 AC_ARG_ENABLE( debug, [ --enable-debug compile with debugging flags set], diff --git a/src/Makefile b/src/Makefile index 47ec859916..c466124fc0 100644 --- a/src/Makefile +++ b/src/Makefile @@ -36,7 +36,7 @@ INCLPATH = -I/usr/include \ -I./../include \ -CFLAGS = -g +CFLAGS = LFLAGS = -O2 LIBS = -lXpm -lXm -lXmu -lXt -lXext -lSM -lICE -lX11 -lpng -ljpeg -lz -lm diff --git a/src/engine/Makefile b/src/engine/Makefile index 8c1eb92338..83bb79dcfb 100644 --- a/src/engine/Makefile +++ b/src/engine/Makefile @@ -34,7 +34,7 @@ INCLPATH = -I/usr/include \ -I./../../include \ -I./../.. -CFLAGS = -g +CFLAGS = LFLAGS = -O2 LIBS = -lXpm -lXm -lXmu -lXt -lXext -lSM -lICE -lX11 -lpng -ljpeg -lz -lm LIBPATH = -L/lib -L/usr/lib -L/usr/local/lib diff --git a/src/gnome/Makefile b/src/gnome/Makefile index 87a91a0a20..d2ab148a8a 100644 --- a/src/gnome/Makefile +++ b/src/gnome/Makefile @@ -40,7 +40,7 @@ INCLPATH = -I/usr/include \ # and general brokenness # -I./../../lib/libhtmlw -CFLAGS = -g +CFLAGS = LFLAGS = -O2 # LIBS = -lXpm -lXm -lXmu -lXt -lXext -lSM -lICE -lX11 -lpng -ljpeg -lz -lm LIBS = -lgtk -lgdk -lglib -lXpm -lXext -lXmu -lXt -lXext -lSM -lICE -lX11 -lpng -ljpeg -lz -lm diff --git a/src/register/Makefile b/src/register/Makefile index febf972d58..13b11201ce 100644 --- a/src/register/Makefile +++ b/src/register/Makefile @@ -38,7 +38,7 @@ INCLPATH = -I/usr/include \ -I./../../lib/ComboBox-1.33 \ -I./../../lib/Xbae-4.6.2-linas -CFLAGS = -g -DCELL_WIDGETS=1 +CFLAGS = -DCELL_WIDGETS=1 LFLAGS = -O2 LIBS = -lXpm -lXm -lXmu -lXt -lXext -lSM -lICE -lX11 -lpng -ljpeg -lz -lm LIBPATH = -L/lib -L/usr/lib -L/usr/local/lib