Changes between Version 34 and Version 35 of Dev


Ignore:
Timestamp:
Mar 9, 2012 6:33:26 AM (13 years ago)
Author:
mitty
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Dev

    v34 v35  
    8282  * リンクが死んでいるので、 http://pauillac.inria.fr/~ddr/ledit/ へ 
    8383  * http://pauillac.inria.fr/~ddr/camlp5/ も必要 
     84 
     85 = Makefile = 
     86 * [http://www.unix.com/shell-programming-scripting/96486-makefile-debug-target.html Makefile debug target - The UNIX and Linux Forums] 
     87 > Call the same makefile recursively in the debug target including the required flags. Don't set $(DEBUG) as a macro, but pass it in on the recursive call. Something like... 
     88 > {{{ 
     89 > (snip) 
     90 >  
     91 > debug: 
     92 > $(MAKE) $(MAKEFILE) DEBUG="-g -D DEBUG" 
     93 > }}} 
     94 * [http://stackoverflow.com/questions/1079832/how-can-i-configure-my-makefile-for-debug-and-release-builds make - How can I configure my makefile for debug and release builds? - Stack Overflow] 
     95 > You can use [http://www.gnu.org/software/make/manual/make.html#Target%5F002dspecific Target-specific Variable Values]. Example: 
     96 > {{{ 
     97 > (snip) 
     98 > debug: CXX += -DDEBUG -g 
     99 > debug: CC += -DDEBUG -g 
     100 > debug: executable 
     101 > }}}