Make: how make all hidden files in the current makefile?

Posted by HH on Stack Overflow See other posts from Stack Overflow or by HH
Published on 2010-04-20T14:00:31Z Indexed on 2010/04/20 14:03 UTC
Read the original article Hit count: 247

Filed under:
|
|

It traverses to bottom dirs for some unknown reason:

Errorsome

/bin/sh: .??*: not found
make[23]: Entering directory `/m/user/files/dir'
make clean

Makefile

all:
        make clean
#The wildcard is the bug. I want to make all hidden files in the current makefile.
#It should match .<some char><some char><any char arbitrary times>
        make $$(.??*)
#I want to replace below-like-tihngs with a wildcard above
#       make .lambda
#       make .lambda_t
clean:
        -rm .??*
.lambda:
#do something
.lambda_t:

© Stack Overflow or respective owner

Related posts about make

    Related posts about beginner