]> git.cworth.org Git - glaze/blobdiff - specs/Makefile
Fix segmentation fault if GLAZE_LIBGL is set to empty string
[glaze] / specs / Makefile
index 67f5166e2f028c61968a104b536167f231314977..ea316f10e888526cb549e2fbdb65eed9102ef50c 100644 (file)
@@ -1,9 +1,12 @@
-TARGETS=gl.def
+TARGETS=gl.def glx.def
 
 all: $(TARGETS)
 
 %.def: %.xml
        ./xml2def $? > $@
 
+glx.def: glx.xml
+       ./xml2def $? | grep -v GetProcAddress > $@
+
 clean:
        rm *.def