summaryrefslogtreecommitdiff
path: root/src/mesa/es/glapi/Makefile
diff options
context:
space:
mode:
authorChia-I Wu <olvaffe@gmail.com>2010-01-24 11:03:20 +0800
committerChia-I Wu <olvaffe@gmail.com>2010-01-24 20:15:25 +0800
commit7be4d6b5f7ee8ccf8a5dfc117b348c2a165d4054 (patch)
tree15fe4b2486d02527c694ee323c6f4ce5df85c547 /src/mesa/es/glapi/Makefile
parente9bb06441eb4a50e9927dcc09289ec63b0e2cf0a (diff)
mesa/es: Improve Makefile rules.
Make sure glapi headers are cleaned when "make clean". Make sure all sources depend on subdirs-stamp-tmp so that sources/headers are generated first. subdirs-stamp-tmp will be removed after a successful build. It might be a problem when a build fails. But it is much better than where we currently are: glapi headers are never cleaned or re-generated.
Diffstat (limited to 'src/mesa/es/glapi/Makefile')
-rw-r--r--src/mesa/es/glapi/Makefile6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/mesa/es/glapi/Makefile b/src/mesa/es/glapi/Makefile
index 1256be953d..1e32af867d 100644
--- a/src/mesa/es/glapi/Makefile
+++ b/src/mesa/es/glapi/Makefile
@@ -30,10 +30,7 @@ ES2_DEPS = $(ES2_APIXML) base2_API.xml es2_EXT.xml es_EXT.xml \
ES1_OUTPUTS := $(addprefix $(ES1_OUTPUT_DIR)/, $(OUTPUTS))
ES2_OUTPUTS := $(addprefix $(ES2_OUTPUT_DIR)/, $(OUTPUTS))
-all: glapi-stamp
-
-glapi-stamp: $(ES1_OUTPUTS) $(ES2_OUTPUTS)
- @touch glapi-stamp
+all: $(ES1_OUTPUTS) $(ES2_OUTPUTS)
$(ES1_OUTPUTS): APIXML := $(ES1_APIXML)
$(ES2_OUTPUTS): APIXML := $(ES2_APIXML)
@@ -89,6 +86,5 @@ verify_xml:
@rm -f tmp.xml
clean:
- -rm -f glapi-stamp
-rm -rf $(ES1_OUTPUT_DIR) $(ES2_OUTPUT_DIR)
-rm -f *~ *.pyc *.pyo