Subj : Makefiles To : Deuce From : Angus Mcleod Date : Sun Jan 09 2005 11:16 pm Re: Makefiles By: Deuce to Angus Mcleod on Sun Jan 09 2005 19:19:00 > > Can you tell me where $(LIBODIR) and $(EXEODIR) are defined? > > build/Common.gmake Yeah. What about adding a timestamp to them at build-time, and sym-linking them back to the default name? I've got (for instance) /sbbs/src/sbbs3/gcc.linux.exe.debug -> gcc.linux.20050101-210142.exe.debug /sbbs/src/sbbs3/gcc.linux.lib.debug -> gcc.linux.20050101-210142.lib.debug and all the executables linked too: /sbbs/exec/sbbs -> ../src/sbbs3/gcc.linux.exe.debug/sbbs /sbbs/exec/sbbsecho -> ../src/sbbs3/gcc.linux.exe.debug/sbbsecho and so on, but I do it manually. If I do a build and something breaks, I just relink back to the previous (or any earlier, working) build. Another suggestion for a revision to sbbsunix.txt: Instead of copying or symlinking libraries into /usr/lib, why not simply add them to /etc/ld.so.conf and run ldconfig? --- þ Synchronet þ Great programs on the Synchronet Channel at The ANJO BBS .