X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=Makefile.DJ;h=deaac09d18188252b0105e2c2b2184365ed84c98;hb=49a5a09adaac457860a8abb9d7b86f317353a23c;hp=78207d9ed14d1354a6060240de48050bc6246efe;hpb=642699a19f1c07336a6fadacd6d5a9028f5d346f;p=mesa.git diff --git a/Makefile.DJ b/Makefile.DJ index 78207d9ed14..deaac09d181 100644 --- a/Makefile.DJ +++ b/Makefile.DJ @@ -20,10 +20,10 @@ # AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN # CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -# DOS/DJGPP makefile v1.4 for Mesa +# DOS/DJGPP makefile for Mesa # -# Copyright (C) 2002 - Borca Daniel -# Email : dborca@yahoo.com +# Author: Daniel Borca +# Email : dborca@users.sourceforge.net # Web : http://www.geocities.com/dborca @@ -31,30 +31,14 @@ # Available options: # # Environment variables: -# CPU optimize for the given processor. -# default = k6 -# GLU=[mesa|sgi] specify GLU directory; can be `sgi' (requires GNU/C++) -# or `mesa'. -# default = mesa -# GLIDE path to Glide3 SDK include files; used with FX. -# default = $(TOP)/include/glide3 +# GLIDE path to Glide3 SDK; used with FX. +# default = $(TOP)/glide3 # FX=1 build for 3dfx Glide3. Note that this disables # compilation of most DMesa code and requires fxMesa. # As a consequence, you'll need the DJGPP Glide3 # library to build any application. # default = no -# MATROX=1 build for Matrox Millennium I (MGA2064W) cards. -# This is experimental and not intensively tested. -# default = no -# HAVE_X86=1 optimize for i386. -# default = no -# HAVE_MMX=1 allow MMX specializations, provided your assembler -# supports MMX instruction set. However, the true CPU -# capabilities are checked at run-time to avoid crashes. -# default = no -# HAVE_SSE=1 (see HAVE_MMX) -# default = no -# HAVE_3DNOW=1 (see HAVE_MMX) +# X86=1 optimize for x86 (if possible, use MMX, SSE, 3DNow). # default = no # # Targets: @@ -70,12 +54,8 @@ .PHONY : all libgl libglu libglut clean realclean -CPU ?= k6 - -GLU ?= mesa - CFLAGS = -Wall -W -pedantic -CFLAGS += -O2 -ffast-math -mcpu=$(CPU) +CFLAGS += -O2 -ffast-math export CFLAGS @@ -90,7 +70,7 @@ all: libgl libglu libglut libgl: lib $(MAKE) -f Makefile.DJ -C src/mesa libglu: lib - $(MAKE) -f Makefile.DJ -C src/glu/$(GLU) + $(MAKE) -f Makefile.DJ -C src/glu/sgi libglut: lib $(MAKE) -f Makefile.DJ -C src/glut/dos