Re: [AD] sanity checks for cvs checkouts...

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Mon, Jan 29, 2001 at 08:40:05PM +0100, Henrik Stokseth wrote:
[...]
> # -------- check that dependancy file exists --------
> #
> .PHONY: nodepwarn
> 
> nodepwarn:
> ifeq ($(wildcard $(OBJ_DIR)/makefile.dep),)
>  @echo WARNING!!! Found no dependancy file on your system.
>  @echo You might want to run 'make depend'.
> endif
[...]

How about something similar to the following instead?

# -------- check that dependancy file exists --------
#
ifeq ($(wildcard $(OBJ_DIR)/makefile.dep),)
$(warning WARNING!!! Found no dependancy file on your system. You might
want to run 'make depend'.)
endif

No need for a target at all.

Stephen Kittelson

________________________________________________________________
GET INTERNET ACCESS FROM JUNO!
Juno offers FREE or PREMIUM Internet access for less!
Join Juno today!  For your FREE software, visit:
http://dl.www.juno.com/get/tagj.



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/