↳
In-reply-to
»
Who can answer me a
⤋ Read More
Makefile
question?
@adi@f.adi.onl What about this one?
SRCFILES = $(wildcard *)
# remove existing *.gz (actually doubles entries)
CLEANSRC = $(SRCFILES:.gz=)
DSTFILES = $(addsuffix .gz, $(CLEANSRC))
%.gz: %
gzip -c $< > $<.gz
all: $(DSTFILES)
You must not have subdirectories in that folder, though.