## This code example is from the following source:
##
## Book Title:  Programming with Objects, A Comparative Presentation
##              of Object-Oriented Programming with C++ and Java
##
## Book Author:     Avinash Kak
##
## Chapter:     Chapter 17  OO For Graphical User Interfaces, A Tour Of Three Toolkits
##
## Section:     Section 17.14.1  A Qt Exammple that Requires Meta Object Compilation
##


#Makefile_GTK_CrazyWindow

CC=gcc
LDLIBS=`gnome-config --libs gnomeui`
CFLAGS=-Wall -g `gnome-config --cflags gnomeui`

CrazyWindow:  CrazyWindow.o Makefile_GTK_CrazyWindow
	$(CC) $(LDLIBS) CrazyWindow.o -o CrazyWindow

CrazyWindow.o: CrazyWindow.c
	$(CC) $(CFLAGS) -c CrazyWindow.c

clean:
	rm -f CrazyWindow
	rm -f CrazyWindow.o

