From 50f7e6fb5f0754093e11b781b916034001d44a09 Mon Sep 17 00:00:00 2001 From: Dan Nicholson Date: Tue, 6 May 2008 11:52:34 -0700 Subject: [PATCH] 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. --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- 2.30.2