X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=Makefile.DJ;h=deaac09d18188252b0105e2c2b2184365ed84c98;hb=47fc06753ec4319a3ac6470060a4582975daceda;hp=93983f9165e2355b974c6a15eb93f3f72ce11a75;hpb=e9e98405e720845f06f7a375585491e938f4dacd;p=mesa.git diff --git a/Makefile.DJ b/Makefile.DJ index 93983f9165e..deaac09d181 100644 --- a/Makefile.DJ +++ b/Makefile.DJ @@ -20,9 +20,9 @@ # 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 +# Author: Daniel Borca # Email : dborca@users.sourceforge.net # Web : http://www.geocities.com/dborca @@ -31,11 +31,6 @@ # Available options: # # Environment variables: -# CPU optimize for the given processor. -# default = pentium -# GLU=[mesa|sgi] specify GLU directory; can be `sgi' (requires GNU/C++) -# or `mesa'. -# default = mesa # GLIDE path to Glide3 SDK; used with FX. # default = $(TOP)/glide3 # FX=1 build for 3dfx Glide3. Note that this disables @@ -43,15 +38,7 @@ # As a consequence, you'll need the DJGPP Glide3 # library to build any application. # 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: @@ -67,12 +54,8 @@ .PHONY : all libgl libglu libglut clean realclean -CPU ?= pentium - -GLU ?= mesa - CFLAGS = -Wall -W -pedantic -CFLAGS += -O2 -ffast-math -mcpu=$(CPU) +CFLAGS += -O2 -ffast-math export CFLAGS @@ -87,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