#################################################
# Makefile
#
#   Copyright (C) 2002 Robert Muth <robert@muth.org>
#
#   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; version 2 of June 1991.
#
#   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 in form of the file COPYING; 
#   if not, write to the 
#
#   Free Software Foundation, Inc. <http://www.fsf.org>
#   59 Temple Place, Suite 330, 
#   Boston, MA 02111-1307  USA
#
#   $Id: Makefile,v 1.2 2004/04/18 05:00:38 muth Exp $
#
#################################################

PROGRAMS = musicus

SOURCES = basic.C switch.C main.C 

OBJECTS = $(SOURCES:.C=.o)

HEADERS =

CXXDEBUG = -g
CXXOPT = 
CXXFLAGS = -Wall -Werror -pedantic $(CXXOPT)   $(CXXDEBUG) `gtk-config --cflags`

all:	$(PROGRAMS)

#################################################

musicus: $(OBJECTS)
	$(CXX) $(CXXDEBUG) -o musicus $(OBJECTS) `gtk-config --libs` -lxmms

check:
	tidy -xml index.html >/dev/null

clean:
	rm *.o musicus

cleaner:
	rm *.o *~ \#*

dep:
	makedepend -Y $(SOURCES)

#################################################

# DO NOT DELETE

