Conditional behavior within makefiles

torhu no at spam.invalid
Wed Nov 14 11:45:23 PST 2007


Sean Kelly wrote:
> This is for the Tango makefiles, so I can't expect the user to have 
> anything but the version of make.exe that comes with DMD/DMC.  I'm 
> trying to sort out separate debug and release builds within the same 
> makefile.

I think the closest you can get is having a batch file that runs make 
with the correct DFLAGS, etc.

make -f win32.mak DFLAGS=-inline -O -release
make -f win32.mak DFLAGS=-g


I tried dmd make a while back, and didn't find it very amusing.


More information about the Digitalmars-d-learn mailing list