summaryrefslogtreecommitdiffstats
path: root/src/mesa/Makefile.mgw
diff options
context:
space:
mode:
authorDaniel Borca <[email protected]>2004-04-13 07:08:34 +0000
committerDaniel Borca <[email protected]>2004-04-13 07:08:34 +0000
commitfb7766853d7fe77b1416afb32f32fb6dc2c442d1 (patch)
treef9d28ed37fc05dc2287370d72e6c17e194a77837 /src/mesa/Makefile.mgw
parent4ba589bbf076f49bd899c7bca90fb186434f23da (diff)
updated Glide driver documentation
fixed SAL/SAR in assyntax.h (NASM) fixed a bug wrt NULL pointer assignment in t_vtx_api.c cosmetics to t_vtx_x86.c & t_vtx_x86_gcc.S enabled STDCALL with codegen (MinGW)
Diffstat (limited to 'src/mesa/Makefile.mgw')
-rw-r--r--src/mesa/Makefile.mgw7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mesa/Makefile.mgw b/src/mesa/Makefile.mgw
index 9084bf478ba..a209e582d9b 100644
--- a/src/mesa/Makefile.mgw
+++ b/src/mesa/Makefile.mgw
@@ -134,7 +134,7 @@ x86/matypes.h: x86/gen_matypes.exe
x86/gen_matypes.exe: x86/gen_matypes.c
$(CC) -o $@ $(CFLAGS) -s $<
-# [dBorca] Hack alert:
+# [dBorca]
# glapi_x86.S needs some adjustments
# in order to generate correct entrypoints
x86/glapi_x86.o: x86/glapi_x86.S
@@ -142,6 +142,11 @@ x86/glapi_x86.o: x86/glapi_x86.S
#main/dispatch.o: main/dispatch.c
# $(CC) -o $@ $(CFLAGS) -UUSE_X86_ASM -c $<
+# [dBorca]
+# if we want codegen, we have to stdcall
+tnl/t_vtx_x86_gcc.o: tnl/t_vtx_x86_gcc.S
+ $(CC) -o $@ $(CFLAGS) -DSTDCALL_API -c $<
+
clean:
-$(call UNLINK,array_cache/*.o)
-$(call UNLINK,glapi/*.o)