2
# Makefile for crossfire client
4
# Copyright (C) 2005 Mark Wedel & Crossfire Development Team
6
# This program is free software; you can redistribute it and/or modify
7
# it under the terms of the GNU General Public License as published by
8
# the Free Software Foundation; either version 2 of the License, or
9
# (at your option) any later version.
11
# This program is distributed in the hope that it will be useful,
12
# but WITHOUT ANY WARRANTY; without even the implied warranty of
13
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
# GNU General Public License for more details.
16
# You should have received a copy of the GNU General Public License
17
# along with this program; if not, write to the Free Software
18
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20
# The author can be reached via e-mail to crossfire-devel@real-time.com
23
bin_PROGRAMS = crossfire-client-gtk
25
crossfire_client_gtk_SOURCES = \
43
crossfire-client.desktop
46
crossfire-client-gtk.man
48
AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/common -I$(top_srcdir)/pixmaps $(GTK_CFLAGS) $(SDL_CFLAGS)
50
crossfire_client_gtk_LDADD = $(GTK_LIBS) $(SDL_LIBS) $(DMALLOC_LIB) ../common/libcfclient.a @LUA_LIBS@
52
../common/libcfclient.a:
53
( cd ../common ; make libcfclient.a )
56
# Check if everything is installed as it should
58
$(bindir)/crossfire-client-gtk -help
61
cproto -e -o gtkproto.h $(AM_CPPFLAGS) $(crossfire_client_gtk_SOURCES)