## 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.7  Minimalist Programs in Gnome/GTK+
##


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

FirstWindow:  FirstWindow.o Makefile_FirstWindow
	$(CC) $(LDLIBS) FirstWindow.o -o FirstWindow

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

clean:
	rm -f FirstWindow
	rm -f FirstWindow.o
