-CC = icc -q -W2 -Dunlink=unlink -O+ -G5 -Gf+ -Gi+ -Gs+ \r
-CPPFLAGS = -I.\Headers -DSTDC_HEADERS=1 -DOS2 \r
-CFLAGS = \r
-OFLAG = -fe\r
-LDFLAGS = -B/noe setargv.obj fl.lib splint.def\r
-O = .obj\r
-EXEEXT = .exe\r
+CC = gcc -O3\r
+CPPFLAGS=-I.\Headers -DSTDC_HEADERS=1 -DOS2\r
+CFLAGS=-Wall \r
+OFLAG=-o \r
+LDFLAGS = -lfl\r
+O=.o\r
+EXEEXT=.exe\r
BISON = bison\r
FLEX = flex\r
YFLAGS = -v -t -d\r
CP = cp\r
MV = mv\r
CAT = cat\r
+SED = sed\r
RM = rm\r
INSTALL = cp\r
INSTALLFLAGS = \r
ECHO = echo\r
+\r
+###\r
+### do you have bison and/or flex?\r
+### (Note: yacc will probably not work; lex might work but is not recommended.)\r
+###\r
+\r
+BISON = bison\r
+FLEX = flex\r
+YFLAGS = -v -t -d\r
+LFLAGS =\r
+\r
+\r
+###\r
+### Some defaults, edit these if you do not want to have to\r
+### use environment variables\r
+###\r
+\r
+### Directory containing system include files:\r
+\r
+SYSTEM_LIBDIR = e:/usr/include\r
+\r
+### default preprocessor command:\r
+\r
+CPPCMD = cpp \r
+\r
+### directory for splint standard imports\r
+DEFAULT_LCLIMPORTDIR = .;e:/usr/lib/splint/imports\r
+\r
+### directory for splint libraries\r
+DEFAULT_LARCHPATH = .;e:/usr/lib/splint/lib\r
+\r
+### directory for splint binary\r
+INSTALLDIR = e:/usr/bin\r
+\r
+### system include directory\r
+GCC_INCLUDE_DIR = e:/usr/include\r
+\r
+### alternate system include directory\r
+GCC_INCLUDE_DIR2 = e:/emx/include\r
+\r
+###\r
+### Cosmetic stuff (goes into the executable\r
+###\r
+\r
+LCL_OS2 = 1\r
+TARGET_CPU = i586\r
+UNAME = OS/2 Warp 4 (Paulina)\r
+\r
+LCL_VERSION := $(shell grep "^PACKAGE_VERSION" ../configure \\r
+ | sed "s/PACKAGE_VERSION *= *'\\([^']*\\)'.*/\1/")\r
+LCL_DATE := $(shell date +"%d %b %Y")\r
+BUILD_DATE := $(shell date +"%c")\r
+ME := $(shell whoami)\r
+BASEDIR := $(shell (cd ..; cmd /c cd | tr '\\' '/'))\r
+LCL_COMPILE = Compiled using $(CC)\\n on $(UNAME) $(TARGET_CPU) $(BUILD_DATE) by $(ME),\\n OS/2 specific subversion is $(LCL_OS2)\r
+LCL_PARSE_VERSION = Splint $(LCL_VERSION)\r
+SPLINT_VERSION = $(LCL_PARSE_VERSION) -- $(LCL_DATE)\r
+\r
+binDir = ../bin\r
+\r
+.SUFFIXES = \r
+.SUFFIXES = .c .h $O $(EXEEXT) .l .check\r
+\r
+# Some preferences\r
+### We use the no-lines option to prevent confusion with splint flag settings.\r
+### Should fix splint to avoid this...\r
+YFLAGS = -v -t -d --debug --no-lines\r
+LFLAGS = -L\r