# This file is part of Schrdinger's cat.
#
# Schrdinger's cat 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 the License.
#
# Schrdinger's cat 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 Schrdinger's cat; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA

CC=gcc
#CFLAGS=-Wall -DDEBUG -g `xml2-config --cflags` `pkg-config --cflags gtk+-2.0`
CFLAGS=-Wall -g `xml2-config --cflags` `pkg-config --cflags gtk+-2.0`
LIBS=`xml2-config --libs` `pkg-config --libs gtk+-2.0`

schrodingers_cat:	schrodingers_cat.o unix.o
	$(CC) $(CFLAGS) -o $@ $? $(LIBS)

clean:
	rm -f *.o

strip:
	strip --strip-all schrodingers_cat
