help-make
[Top][All Lists]
Advanced

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

recursive wildcard


From: Matthias Teege
Subject: recursive wildcard
Date: Thu, 24 Feb 2005 11:25:40 +0100
User-agent: Mutt/1.5.6i

Moin,

I have a rule which compress all html files in a directory. It looks
like this:

%.html.gz: %.html
           gzip -c $< > $@

HTMLFILES = $(wildcard *.html)
ZIPFILES  = $(HTMLFILES:.html=.html.gz) 

all: ($ZIPFILES)

It works but now I have a lot of subdirectorys and don't want to put a
Makefile in each directory. How can "extend" the wildcard matching so
that subdirs are included?

Matthias

-- 
make world not war





reply via email to

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