summaryrefslogtreecommitdiff
path: root/src/mesa/Makefile.mgw
diff options
context:
space:
mode:
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 9084bf478b..a209e582d9 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)