1 # $Id: Makefile.DJ,v 1.10 2001/03/28 17:19:58 brianp Exp $
3 # Mesa 3-D graphics library
5 # Copyright (C) 1995-2001 Brian Paul
7 # Makefile for core library for MS-DOS using djgpp
17 # Want UniVBE (Display Doctor) Support, Scitech Software www.scitechsoft.com
18 # Set -I to point to scitech include files.
19 # Haven`t finished doing univbe version for djgpp
20 #CFLAGS += -DUNIVBE -D__DOS__ -D__MSDOS32__ -IC:\scitech\include
21 CFLAGS += -D__DOS__ -D__MSDOS32__
103 DRIVER_SOURCES = DOS\dosmesa.c
105 SOURCES = $(CORE_SOURCES) $(DRIVER_SOURCES)
107 OBJECTS = $(SOURCES:.c=.o)
114 gcc -c -DDOSVGA -I$(INCDIR) $(CFLAGS) $<
120 default: $(LIBDIR)/$(GL_LIB)
129 $(LIBDIR)/$(GL_LIB): $(OBJECTS)
130 $(MAKELIB) $(GL_LIB) $(OBJECTS)
131 copy $(GL_LIB) $(LIBDIR)\$(GL_LIB)
136 # Run 'make depend' to update the dependencies if you change what's included
137 # by any source file.
140 makedep -fdepend -Y -I../include $(SOURCES)