Commit a7dc2367 authored by Radovan Bast's avatar Radovan Bast
Browse files

explain/document all used variables

parent 1023afef
# directory containing source data
SRCDIR := data
# directory containing intermediate data
TMPDIR := processed_data
# results directory
RESDIR := results
# all source files (book texts)
SRCS = $(wildcard $(SRCDIR)/*.txt)
# all generated files
OBJS = $(patsubst $(SRCDIR)/%.txt,$(TMPDIR)/%.dat,$(SRCS))
OBJS += $(patsubst $(SRCDIR)/%.txt,$(RESDIR)/%.png,$(SRCS))
OBJS += $(RESDIR)/results.txt
# all intermediate data files
DATA = $(patsubst $(SRCDIR)/%.txt,$(TMPDIR)/%.dat,$(SRCS))
all: $(OBJS)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment