######
## Genesaver Jamfile for use in building on NetBSD and (possibly) other
## UNIX-like OSes.

######
#
# All the lovely .cpp files we depend on to get built. Doing it this way
# allows us to ignore things like winmain.cpp, if it exists.
MAINCCFILES = Animal.cpp DNA.cpp Lizard.cpp Thing.cpp main.cpp util.cpp
	Brain.cpp Jungle.cpp Plant.cpp World.cpp settings.cpp ;

# Primary executable name..
EXEFILE = gene ;

# Various link-related settings..
LINKFLAGS += -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/X11R6/lib
	-Wl,-R/usr/X11R6/lib ;
LINKLIBS += -lGL -lXi -lglut -lX11 -lGLU -lXmu -lXm ;
C++FLAGS += -I/usr/pkg/include ;

#C++ = g++ ;
#LINK = g++ ;
Main $(EXEFILE) : $(MAINCCFILES) ;