original 1.0.1 release
[xwelltris.git] / Makefile.in
blob9e1121a7278071a5257f2867d475453155464ecc
1 # XWelltris - tetris like popular game
2 #
3 # Copyright (C) 2002 by Leo Khramov
4 # email: leo@xnc.dubna.su
5 #
7 # This program is free software; you can redistribute it and/or modify
8 # it under the terms of the GNU General Public License as published by
9 # the Free Software Foundation; either version 2 of the License, or
10 # (at your option) any later version.
12 # This program is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # GNU General Public License for more details.
18 @MCOMMON@
20 DATAFILES= \
21 data/polyomino.dat \
22 data/board2.gif \
23 data/font2.gif \
24 data/topnine.gif \
25 data/wellcuts.gif \
26 data/wellintro.gif
28 SHARE_DATAFILES= \
29 data/welltris.scores
31 PROGRAM = xwelltris
33 all:: $(PROGRAM)
35 $(PROGRAM): FORCE
36 -(cd src && make)
38 install:
39 $(INSD) $(INSTLIB)
40 $(INSTALL_DATA) $(DATAFILES) $(INSTLIB)
41 $(INSTALL_SHARE_DATA) $(SHARE_DATAFILES) $(INSTLIB)
42 $(INSTALL_PROGRAM) $(PROGRAM) $(INSTDIR)
44 uninstall:
45 $(RM) -f $(INSTDIR)/$(PROGRAM)
46 $(RM) -rf $(INSTLIB)
48 clean:
49 $(RM) -f $(PROGRAM)
50 -(cd src && make clean)
52 FORCE: