# 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.6 for Mesa
+# DOS/DJGPP makefile for Mesa
#
-# Copyright (C) 2002 - Daniel Borca
+# Author: Daniel Borca
# Email : dborca@users.sourceforge.net
# Web : http://www.geocities.com/dborca
# 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
.PHONY : all libgl libglu libglut clean realclean
-CPU ?= pentium
-
-GLU ?= mesa
-
CFLAGS = -Wall -W -pedantic
-CFLAGS += -O2 -ffast-math -mtune=$(CPU)
+CFLAGS += -O2 -ffast-math
export CFLAGS
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