radeon: Fix memory leaks from early return.
[mesa.git] / src / mesa / Makefile.mgw
index 097c390a83e2625e402cc415fcfb2cb021b836ad..b90384d04a705396e09fac123fbb5174c5c50c3e 100644 (file)
@@ -200,7 +200,7 @@ ifeq (1,1)
 x86/glapi_x86.o: x86/glapi_x86.S
        $(CC) -o $@ $(CFLAGS) -DSTDCALL_API -c $<
 else
-main/dispatch.o: main/dispatch.c
+glapi/glapi_dispatch.o: glapi/glapi_dispatch.c
        $(CC) -o $@ $(CFLAGS) -UUSE_X86_ASM -c $<
 glapi/glapi.o: glapi/glapi.c
        $(CC) -o $@ $(CFLAGS) -UUSE_X86_ASM -c $<
@@ -218,7 +218,6 @@ clean:
        -$(call UNLINK,vbo/*.o)
        -$(call UNLINK,shader/*.o)
        -$(call UNLINK,shader/slang/*.o)
-       -$(call UNLINK,shader/grammar/*.o)
        -$(call UNLINK,sparc/*.o)
        -$(call UNLINK,ppc/*.o)
        -$(call UNLINK,swrast/*.o)