LIBRARY = libToolkit.a#
OBJS = Toolkit.o ToolkitGtk.o Trackball.o FramesPerSecond.o

CC = g++
AR = ar
RM = /bin/rm -f

CFLAGS = -Wall -O2 -I../SceneGraph -I../Utility $(FLAGS) `$(PKG_CONFIG) --cflags gtk+-2.0 gtkglext-1.0`
ARFLAGS = rc

all: $(OBJS)
	$(AR) $(ARFLAGS) $(LIBRARY) $(OBJS)

%.o: %.cpp %.h Toolkit.h
	$(CC) $(CFLAGS) -c $<

clean:
	$(RM) *~ *.o $(LIBRARY)

