###### ## 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) ;
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 5393 | Sam Stafford |
Integrate in Marc's porting changes, and merge my own relevant winmain.cpp changes into main.cpp. (Thanks Marc!!!) |
||
//guest/marc_tooley/toys/gene/Jamfile | |||||
#1 | 4902 | marc |
Working Genesaver under NetBSD.. . Fixed all default-level compiler warnings such as: .. Missing newline at end of files; .. Eliminating NULLs in non-pointer comparisons; .. Fixing all case inconsistencies; .. Added appropriate includes for math-functions under NetBSD; .. Added missing extern World *world pointers; .. #ifdef'd redefinition of NULL .. Deleted :) unnecessary sln/vcproj/scc clutter (shh don't tell Sam) . Submitting advanced long-ish term creature DNA as a cheat for the impatient. (Move Genes.txt out of the way to see them evolve right from the start.) . Added Jamfile for building an in-place executable called 'gene' . Added a build.sh script for users who don't have access to Jam. . Made it into standard resizeable window operation (no fullsc) . Removed winmain.cpp because we don't need it for UNIX! :) |