help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Filename with whitespace


From: Eric Hanchrow
Subject: Re: Filename with whitespace
Date: Wed, 05 May 2004 08:52:44 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (gnu/linux)

If you have the GNU tools installed (e.g., Cygwin or MinGW) you might
be able to use this rather awful kludge:

    simple := $(wildcard *)
    kludge := $(shell find * -mindepth 0 -maxdepth 0 -print | sed 's, ,\\ ,g')

    all:
            @echo -n simple: ; for i in $(simple); do echo $$i; done
            @echo -n kludge: ; for i in $(kludge); do echo $$i; done

-- 
Governing the U.S. is like playing 200 simultaneous chess
matches (while whiny columnists second-guess every move on every
board).
        -- Nicholas Kristof, New York Times columnist





reply via email to

[Prev in Thread] Current Thread [Next in Thread]