[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Help on makefile writing
From: |
address@hidden |
Subject: |
Help on makefile writing |
Date: |
Thu, 20 Apr 2017 12:15:57 +0200 (CEST) |
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 on makefile writing,
address@hidden <=