Fixed a build problem.
[gljewel.git] / Makefile.am
blobe9376b06b29754c165bda7f039b6d929847f1053
1 ##
2 ## Top-level Makefile for gljewel.
3 ##
4 ## Copyright 2008 Stephen M. Webb  <stephen.webb@bregmasoft.ca>
5 ##
6 ##
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.
17 ## You should have received a copy of the GNU General Public License
18 ## along with this program; if not, write to the Free Software
19 ## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
22 ACLOCAL_AMFLAGS  = -I m4
24 bindir = /usr/games
25 datadir = /usr/share/games/gljewel/data
27 bin_PROGRAMS = gljewel
29 gljewel_SOURCES = \
30         gljewel.c matrix.c sound.c text.c \
31         bucky.c bcube.c pyramid.c diamond.c sphere.c cylinder.c ico.c \
32         vbo.c
34 gljewel_CFLAGS = \
35         -DDATA_DIR=\"$(datadir)\" \
36         -DHAVE_GL_VERTEX_BUFFERS
38 gljewel_LDFLAGS = \
39         $(SDL_LIBS) \
40         $(GL_LIBS)
43 DISTCLEANFILES = \
44         config.h.in~ \
45         build-stamp \
46         aclocal.m4 \
47         Makefile.in
49 MAINTAINERCLEANFILES = \
50         configure
52 maintainer-clean-local:
53         -rm -rf config