1 # DOS/DJGPP core makefile v0.1 for Mesa 4.0.x
3 # Copyright (C) 2002 - Borca Daniel
4 # Email : dborca@yahoo.com
5 # Web : http://www.geocities.com/dborca
12 CFLAGS = -I$(TOP)/include -I. -Wall -W -Wno-unused -mcpu=pentium -ffast-math -O2
25 array_cache/ac_context.c \
26 array_cache/ac_import.c \
58 math/m_debug_vertex.c \
59 math/m_debug_xform.c \
76 swrast/s_aatriangle.c \
89 swrast/s_histogram.c \
101 swrast/s_texstore.c \
103 swrast/s_triangle.c \
105 swrast_setup/ss_context.c \
106 swrast_setup/ss_triangle.c \
107 swrast_setup/ss_vb.c \
115 tnl/t_array_import.c \
138 DRIVER_SOURCES = DOS/dmesa.c DOS/dvesa.c
140 SOURCES = $(CORE_SOURCES) $(DRIVER_SOURCES)
142 OBJECTS = $(SOURCES:.c=.o)
145 gcc -o $@ -c $(CFLAGS) $<
147 all: $(LIBDIR)/$(GL_LIB)
149 $(LIBDIR)/$(GL_LIB): $(OBJECTS)
150 $(AR) $(ARFLAGS) $(LIBDIR)/$(GL_LIB) $(OBJECTS)
158 DOS/dmesa.o: DOS/dmesa.c glheader.h ../include/GL/gl.h context.h glapi.h \
159 mtypes.h config.h glapitable.h glthread.h math/m_matrix.h dd.h \
160 ../include/GL/dmesa.h matrix.h texformat.h texstore.h array_cache/acache.h \
161 swrast/swrast.h swrast_setup/swrast_setup.h tnl/tnl.h tnl/t_context.h \
162 math/m_vector.h math/m_xform.h tnl/t_pipeline.h DOS/dvesa.h DOS/dmesaint.h
163 DOS/dvesa.o: DOS/dvesa.c DOS/dvesa.h