17j-ias/figs/atoms.fig/Makefile
2018-05-05 23:18:02 +00:00

16 lines
364 B
Makefile

PROJECTNAME=nematic liquid crystal chiral
PNGS=$(addsuffix .png, $(PROJECTNAME))
all: $(PNGS)
$(PNGS):
cp $(patsubst %.png, %, $@)-base.gp $(patsubst %.png, %, $@).gp
python $(patsubst %.png, %, $@).py >> $(patsubst %.png, %, $@).gp
gnuplot $(patsubst %.png, %, $@).gp > $@
clean-aux:
rm -f $(addsuffix .gp, $(PROJECTNAME))
clean: clean-aux
rm -f $(PNGS)