Ian Jauslin
summaryrefslogtreecommitdiff
blob: 50559fa89b793a49848a7ebc9fd3137f621d88b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
PROJECTNAME=crystal liquid gas nematic smectic gas-rods
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)