update makefile

This commit is contained in:
josch 2013-07-17 20:30:29 +02:00
parent 3a4e9ac4c6
commit a0ca2a1152

View file

@ -1,19 +1,9 @@
BITMAPS:=$(patsubst parts/%.dat, bitmaps/%.png, $(wildcard parts/*.dat)) BITMAPS:=$(patsubst parts/%.dat, bitmaps/%.png, $(wildcard parts/*.dat))
LDFLAGS+=-lm all: montage.png
LINK.o = $(LINK.cc)
CXXFLAGS=-Wall -pedantic
partsgen: partsgen.o
clean:
rm -f partsgen.o partsgen
rm -f bitmaps/*
test: montage.png
montage.png: $(BITMAPS) montage.png: $(BITMAPS)
montage -label '%f' $(BITMAPS) $@ montage -label '%f' $(BITMAPS) $@
bitmaps/%.png: parts/%.dat bitmaps/%.png: parts/%.dat
~/debpkg/ldview-4.2\~beta1+dfsg/QT/LDView -SaveActualSize=0 -SaveAlpha=1 -SaveWidth=300 -SaveHeight=300 -SaveZoomToFit=0 -SaveSnapShot=$@ $< ldview -SaveActualSize=0 -SaveAlpha=1 -SaveWidth=300 -SaveHeight=300 -SaveZoomToFit=0 -SaveSnapShot=$@ $<