2021-03-08 06:58:18 +11:00
|
|
|
#--------------------------------------------------------
|
|
|
|
|
|
|
|
MOYEN=+w1280 +h1024
|
|
|
|
GRAND=+w1600 +h1200
|
|
|
|
PETIT=+w800 +h600
|
2021-03-09 00:35:37 +11:00
|
|
|
DIMS=$(GRAND)
|
2021-03-08 06:58:18 +11:00
|
|
|
|
2021-03-09 00:35:37 +11:00
|
|
|
OPTS = +a +q9 -d
|
|
|
|
LOWR = -a +q5 -d
|
2021-03-08 06:58:18 +11:00
|
|
|
|
|
|
|
POVRAY=povray
|
|
|
|
|
2021-03-09 00:35:37 +11:00
|
|
|
# nouveau mars 2021
|
2021-03-08 06:58:18 +11:00
|
|
|
INCS = incs/
|
|
|
|
|
|
|
|
# CJPEGOPT=-quality 88 -progressive -dct float -targa
|
|
|
|
CJPEGOPT = -progressive -dct float -quality 88
|
|
|
|
PNGOPT = -interlace -compression 9 -text png.txt
|
|
|
|
|
2021-03-09 00:35:37 +11:00
|
|
|
all: loco.png parking.png corail.png train.png essai.png \
|
2021-03-08 06:58:18 +11:00
|
|
|
inside.png benne.png electric.png truc.png wagons.png \
|
2021-03-09 00:35:37 +11:00
|
|
|
ridelles.png rotonde.png grue.png \
|
2021-03-08 06:58:18 +11:00
|
|
|
citerne.png
|
|
|
|
|
2021-03-09 00:35:37 +11:00
|
|
|
GLOBDEPS=${INCS}/train.inc plancher.inc ${INCS}/poteaux.inc \
|
2021-03-08 15:24:35 +11:00
|
|
|
${INCS}/rails.inc ${INCS}/grue.inc \
|
2021-03-08 06:58:18 +11:00
|
|
|
${INCS}/constantes.inc
|
|
|
|
|
|
|
|
#--------------------------------------------------------
|
|
|
|
|
|
|
|
essai.png: essai.pov Makefile $(GLOBDEPS)
|
|
|
|
$(POVRAY) +Iessai +Oessai $(DIMS) $(OPTS)
|
|
|
|
|
|
|
|
#-----------------------------------------------------------------------
|
|
|
|
#
|
|
|
|
# le grand garage de tout les wagons
|
|
|
|
#
|
|
|
|
|
2021-03-09 00:35:37 +11:00
|
|
|
rotonde.png: rotonde.pov Makefile $(GLOBDEPS)
|
|
|
|
$(POVRAY) +Irotonde $(DIMS) $(OPTS) +v
|
2021-03-08 06:58:18 +11:00
|
|
|
|
|
|
|
#-----------------------------------------------------------------------
|
|
|
|
|
|
|
|
parking.png: parking.pov Makefile $(GLOBDEPS)
|
|
|
|
$(POVRAY) +Iparking $(DIMS) $(OPTS) +v
|
|
|
|
|
2021-03-09 00:35:37 +11:00
|
|
|
loco.png: loco.pov ${GLOBDEPS} Makefile
|
2021-03-08 06:58:18 +11:00
|
|
|
$(POVRAY) +Iloco $(DIMS) $(OPTS) +v
|
|
|
|
|
|
|
|
train.png: train.pov ${DEPS} Makefile
|
|
|
|
$(POVRAY) +Itrain $(DIMS) $(OPTS) +v
|
|
|
|
|
|
|
|
|
|
|
|
corail.png: corail.pov Makefile $(GLOBDEPS)
|
|
|
|
$(POVRAY) +Icorail $(DIMS) $(OPTS) +v
|
|
|
|
|
|
|
|
|
|
|
|
gare.tga: gare.pov gare.inc plancher.tga plancher.inc \
|
|
|
|
enseigne.inc Makefile
|
|
|
|
$(POVRAY) +Igare +FT $(DIMS) $(OPTS) +v
|
|
|
|
|
|
|
|
#-----------------------------------------------------------------------
|
|
|
|
|
2021-03-09 00:35:37 +11:00
|
|
|
wagons.png: wagons.pov $(GLOBDEPS) Makefile
|
|
|
|
$(POVRAY) +Iwagons $(DIMS) $(OPTS) +v
|
2021-03-08 06:58:18 +11:00
|
|
|
|
|
|
|
inside.png: inside.pov $(GLOBDEPS) Makefile
|
|
|
|
$(POVRAY) +Iinside $(DIMS) $(OPTS) +v
|
|
|
|
|
2021-03-08 15:24:35 +11:00
|
|
|
benne.png: benne.pov $(GLOBDEPS) Makefile
|
|
|
|
$(POVRAY) +Ibenne $(DIMS) $(OPTS) +v
|
2021-03-08 06:58:18 +11:00
|
|
|
|
2021-03-08 15:24:35 +11:00
|
|
|
electric.png: electric.pov $(GLOBDEPS) Makefile
|
|
|
|
$(POVRAY) +Ielectric $(DIMS) $(OPTS) +v
|
2021-03-08 06:58:18 +11:00
|
|
|
|
2021-03-09 00:35:37 +11:00
|
|
|
citerne.png: citerne.pov $(GLOBDEPS) Makefile
|
|
|
|
$(POVRAY) +Iciterne $(DIMS) $(OPTS) +v
|
2021-03-08 06:58:18 +11:00
|
|
|
|
2021-03-09 00:35:37 +11:00
|
|
|
truc.png: truc.pov $(GLOBDEPS) Makefile
|
|
|
|
$(POVRAY) +Itruc $(DIMS) $(OPTS) +v
|
2021-03-08 06:58:18 +11:00
|
|
|
|
2021-03-09 00:35:37 +11:00
|
|
|
ridelles.png: ridelles.pov $(GLOBDEPS) Makefile
|
|
|
|
$(POVRAY) +Iridelles $(DIMS) $(OPTS) +v
|
2021-03-08 06:58:18 +11:00
|
|
|
|
2021-03-09 00:35:37 +11:00
|
|
|
grue.png: grue.pov $(GLOBDEPS) Makefile
|
|
|
|
$(POVRAY) +Igrue $(DIMS) $(OPTS) +v
|
2021-03-08 06:58:18 +11:00
|
|
|
|
|
|
|
#--------------------------------------------------------
|
|
|
|
# les trucs en travaux
|
|
|
|
|
|
|
|
tmp/voiture.tga: voiture.inc voiture.pov $(GLOBDEPS)
|
|
|
|
$(POVRAY) +Ivoiture +FT +Otmp/ $(DIMS) $(OPTS) +v
|
|
|
|
|
|
|
|
#--------------------------------------------------------
|
|
|
|
|
2021-03-08 15:24:35 +11:00
|
|
|
SRCFILES = *.inc *.pov *.txt Makefile *.sh
|
2021-03-08 06:58:18 +11:00
|
|
|
|
|
|
|
lines:
|
|
|
|
wc $(SRCFILES) | sort -n
|
|
|
|
|
|
|
|
tarball: $(SRCFILES)
|
|
|
|
ls $^ > MANIFEST ; \
|
|
|
|
( cd .. ; \
|
|
|
|
tar zcvf jouets-tth.tar.gz \
|
|
|
|
`sed 's/^/Jouets\//' Jouets/MANIFEST` )
|
|
|
|
date >> tarball
|
|
|
|
|
|
|
|
#--------------------------------------------------------
|
|
|
|
|