Dear all, I still try to learn make file script. I have write this script: RDIR=. RFILES:=$(wildcard $(RDIR)/*.list) SCRIPT=~/Software/QC3.sh OUTDIR=RESULTS OUTFILES=RESULTS/fastqReport.html .PHONY: clean all qc
all: $(OUTDIR) $(OUTFILES) qc qc: %.list $(SCRIPT) $< $(OUTDIR): test -d $@ ||mkdir $@ clean: rm -rf $(OUTDIR) I would like to launch every time I add new file ended with .list a comand ~/Software/QC3.sh namefile.list and obtain inside a RESULTS file an html This is the results _______________________________________________ Help-make mailing list Help-make@gnu.org https://lists.gnu.org/mailman/listinfo/help-make