summaryrefslogtreecommitdiffstats
path: root/progs/tests/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'progs/tests/Makefile')
-rw-r--r--progs/tests/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/progs/tests/Makefile b/progs/tests/Makefile
index 0f938f9b0c1..f8473e64e21 100644
--- a/progs/tests/Makefile
+++ b/progs/tests/Makefile
@@ -134,6 +134,9 @@ INCLUDES = -I. -I$(TOP)/include
UTIL_FILES = readtex.h readtex.c
+GL_API_XML = $(TOP)/src/mapi/glapi/gen/gl_API.xml
+
+
##### TARGETS #####
default: $(UTIL_FILES) $(PROGS)
@@ -160,7 +163,7 @@ clean:
# auto code generation
getprocaddress: getprocaddress.c getproclist.h
-getproclist.h: $(TOP)/src/mesa/glapi/gen/gl_API.xml getprocaddress.c getprocaddress.py
+getproclist.h: $(GL_API_XML) getprocaddress.c getprocaddress.py
python getprocaddress.py > getproclist.h
arraytexture: arraytexture.o readtex.o