summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Nicholson <[email protected]>2008-05-06 11:52:34 -0700
committerDan Nicholson <[email protected]>2008-05-06 11:52:34 -0700
commit50f7e6fb5f0754093e11b781b916034001d44a09 (patch)
treef22faff7b992d40e370e95a677531bf5529529d2
parente14ebbce41c8acee5f77633c6c536d92f84a5c20 (diff)
Add .PHONY targets to top Makefile for non-file targets
When a make target doesn't result in a file of the same name, adding it to a .PHONY target means make won't look for such a file, speeding the build up a bit. This allows `make doxygen' to work since otherwise make will consider the doxygen directory as up to date.
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index fffc3f959f7..1a0c6093b13 100644
--- a/Makefile
+++ b/Makefile
@@ -57,6 +57,9 @@ glcore:
glcore-install:
cd src/mesa/drivers/xorg ; $(MAKE) install
+.PHONY: default doxygen clean realclean install linux-directfb-install \
+ glcore glcore-install
+
# If there's no current configuration file
$(TOP)/configs/current:
@echo
@@ -531,3 +534,6 @@ md5:
@-md5sum $(GLUT_NAME).tar.gz
@-md5sum $(GLUT_NAME).tar.bz2
@-md5sum $(GLUT_NAME).zip
+
+.PHONY: tarballs rm_depend lib_gz demo_gz glut_gz lib_bz2 demo_bz2 \
+ glut_bz2 lib_zip demo_zip glut_zip md5