## 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`

FirstWindowWithButton:  FirstWindowWithButton.o Makefile_FirstWindowWithButton
	$(CC) $(LDLIBS) FirstWindowWithButton.o -o FirstWindowWithButton

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

clean:
	rm -f FirstWindowWithButton
	rm -f FirstWindowWithButton.o
