#
# Makefile - This American Life Secret Decoder, Linux version
#
# Copyright (C) 2000  Alex Tilles
# 
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
#
# This is my first graphical Linux program.  Comments welcome.
#
# If you have comments or questions about this file, please
# email me at alexgt@bigfoot.com.
#
#
# You can find GTK at www.gtk.org
# You can find imlib at www.us.rasterman.com/imlib.html
#

all: decoder

CC = gcc

#  gtk-config generates the relevant gtk include and library options
#  -lgdk_imlib links in the necessary imlib graphics library

CFLAGS = -Wall `gtk-config --cflags --libs gtk` -lgdk_imlib

#  The following is not strictly needed as make can find the source
#  file all by itself...

decoder : decoder.c
	$(CC) $(CFLAGS) -o $@ $<
