2
# Copyright 2005,2006,2007 by Mark Weyer
4
# This program is free software; you can redistribute it and/or modify
5
# it under the terms of the GNU General Public License as published by
6
# the Free Software Foundation; either version 2 of the License, or
7
# (at your option) any later version.
9
# This program is distributed in the hope that it will be useful,
10
# but WITHOUT ANY WARRANTY; without even the implied warranty of
11
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
# GNU General Public License for more details.
14
# You should have received a copy of the GNU General Public License
15
# along with this program; if not, write to the Free Software
16
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23
# If you don't want to know too much:
28
# A more thorough description follows.
36
# Create all pictures that have sources
39
# Create all pictures from an individual level that have sources
40
# This is only a rule of thumb. For example, the pictures for all
41
# kacheln?.ld levels are created by "make kacheln".
44
# Copy all pictures that were created to their destination.
45
# In addition, xpm pictures are compressed
48
# Delete all intermediate files and all files ending in ~.
51
# Delete all files that were regularly created.
57
# You will need make, netpbm, ocaml, and povray.
65
INSTALL_DIR = $(DATA_DIR)/pics
76
Makefile.common: ../Makefile.common
77
cp ../Makefile.common .
82
echo "colors.mgk" >> cvsfiles
83
echo "titel-orig.png" >> cvsfiles
84
echo "TODO" >> cvsfiles
86
distfiles_local: makefile.opt
87
$(MAKE) -C $(DATA_DIR) used_images
88
./makefile.opt dist `cat $(DATA_DIR)/used_images` >> distfiles
89
echo "colors.mgk" >> distfiles
92
echo "make.ml" >> cleanfiles
93
echo "make.mli" >> cleanfiles
94
echo "Makefile.common" >> cleanfiles
98
include Makefile.common
102
# The following targets are listed here to prevent them being handed to
103
# makefile.opt although we do not have real rules for them: