## 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.21  Drawing Shapes, Text, and Images in Gnome/GTK+
##


#Makefile_RenderGraphics

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

RenderGraphics:  RenderGraphics.o Makefile_RenderGraphics
	$(CC) RenderGraphics.o $(LDLIBS) -o RenderGraphics

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

clean:
	rm -f RenderGraphics
	rm -f RenderGraphics.o
