## 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.18  Windows with Menus in Gnome/GTK+
##


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

WindowWithMenu:  WindowWithMenu.o Makefile_gtk_WindowWithMenu
        $(CC) $(LDLIBS) WindowWithMenu.o -o WindowWithMenu

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

clean:
        rm -f WindowWithMenu
        rm -f WindowWithMenu.o
