1 # $Id: Makefile.DJ,v 1.7 2000/04/07 16:28:37 brianp Exp $
3 # Mesa 3-D graphics library
5 # Copyright (C) 1995-1998 Brian Paul
7 # This library is free software; you can redistribute it and/or
8 # modify it under the terms of the GNU Library General Public
9 # License as published by the Free Software Foundation; either
10 # version 2 of the License, or (at your option) any later version.
12 # This library is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 # Library General Public License for more details.
17 # You should have received a copy of the GNU Library General Public
18 # License along with this library; if not, write to the Free
19 # Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
22 # Makefile for core library for MS-DOS using djgpp
34 # Want UniVBE (Display Doctor) Support, Scitech Software www.scitechsoft.com
35 # Set -I to point to scitech include files.
36 # Haven`t finished doing univbe version for djgpp
37 #CFLAGS += -DUNIVBE -D__DOS__ -D__MSDOS32__ -IC:\scitech\include
38 CFLAGS += -D__DOS__ -D__MSDOS32__
119 DRIVER_SOURCES = DOS\dosmesa.c
121 SOURCES = $(CORE_SOURCES) $(DRIVER_SOURCES)
123 OBJECTS = $(SOURCES:.c=.o)
130 gcc -c -DDOSVGA -I$(INCDIR) $(CFLAGS) $<
136 default: $(LIBDIR)/$(GL_LIB)
145 $(LIBDIR)/$(GL_LIB): $(OBJECTS)
146 $(MAKELIB) $(GL_LIB) $(OBJECTS)
147 copy $(GL_LIB) $(LIBDIR)\$(GL_LIB)
152 # Run 'make depend' to update the dependencies if you change what's included
153 # by any source file.
156 makedep -fdepend -Y -I../include $(SOURCES)