|
From: Tim R. <timr@u.washington.edu> - 2002-11-12 23:15:19
|
hi, between chris and myself, the makefiles have been changed pretty substantially in the past few days. in particular, now there are proper debug and optimized targets, and there is a makefile in the tests directory. the new targets in the top-level makefile are: opt -- (default) makes everything, including apps and tests, in fully-optimized mode debug -- makes everything in debug mode. lib -- make just the btk library, in fully-optimized mode debug_lib -- make just the btk library in debug mode clean -- removes .o files and library files realclean -- removes .o files, library files, core files and emacs temporary (*~) files. depending on how you make, you'll get different targets. libbtk.a is the optimized library, and libbtk_debug.a is the debug library. likewise, there are *_debug versions of the apps and tests. dependencies are managed sanely, as before, but with different dependencies for the different build modes (i.e., debug applications will only depend on libbtk_debug.o). As before, you can always build an individual application in apps or tests by doing make <appname> or make <appname_debug>, where <appname> is the name of the target (e.g. rmsd). finally, i moved test_main.cpp from the btk directory to tests/test_protein.cpp. this location is more appropriate, and i think the name better reflects what the program actually does (namely, testing the protein class). -tim |