From 7c862eb6a2ee070344982adf321607e2ba0508a9 Mon Sep 17 00:00:00 2001 From: tma Date: Tue, 4 Oct 2005 19:15:34 +0000 Subject: * MinGW fixes to the tools Makefiles git-svn-id: svn://svn.icculus.org/quake3/trunk@137 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/tools/lcc/makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'code/tools/lcc') diff --git a/code/tools/lcc/makefile b/code/tools/lcc/makefile index 178e86c..1c29f32 100644 --- a/code/tools/lcc/makefile +++ b/code/tools/lcc/makefile @@ -3,7 +3,14 @@ HOSTFILE=etc/linux.c TEMPDIR=/tmp A=.a O=.o -E= + +PLATFORM=$(shell uname|sed -e s/_.*//|tr A-Z a-z) +ifeq ($(PLATFORM),mingw32) + E=.exe +else + E= +endif + CC=gcc CFLAGS=-O2 -Wall -fno-strict-aliasing LDFLAGS= -- cgit v1.2.3