> You can probably get what you want by having a dependency on a
> file that never exists:
>
> always:   noSuchFile
>     build always
>
> noSuchFile:
>     :
>
> # remember that ':' is a dummy command on Unix
>

Right.  That works until some wiseguy creates a file
called "noSuchFile" to trip you up.  Tricks abound
of course.  Here's one I find particularly amusing:

# We can assume we know the name of our own makefile
FORCE=./makefile/nothing

always: $(FORCE)
        build always

$(FORCE):

I guess that part of the motivation for the .phony (or .force)
target is to solve this problem.

Best,
Stan

_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to