Revision 1034 trunk/src/Makefile

Makefile (revision 1034)
2 2
OBJDESTDIR=..\build\objects\dist
3 3
LEXDESTDIR=..\build\lex
4 4

  
5
!IF DEFINED(DEBUG)
6
CXXFLAGS_SAF=/nologo /G7 /W4 /GF /EHsc /DSAFE_ALL /DUSE_LAPLACE /DWIN32 /D__MSVC32__=8 /I..\$(DESTDIR)\include
7
CXXFLAGS_OPT=/nologo /G7 /W4 /GF /EHsc /DOPT_LIB  /DUSE_LAPLACE /DWIN32 /D__MSVC32__=8 /I..\$(DESTDIR)\include
8
!ELSE
5 9
CXXFLAGS_SAF=/nologo /O2 /W4 /GF /EHsc /DSAFE_ALL /DUSE_LAPLACE /DWIN32 /D__MSVC32__=8 /I..\$(DESTDIR)\include
6 10
CXXFLAGS_OPT=/nologo /O2 /W4 /GF /EHsc /DOPT_LIB  /DUSE_LAPLACE /DWIN32 /D__MSVC32__=8 /I..\$(DESTDIR)\include
11
!ENDIF
7 12

  
8 13
all: dist bins contrib
9 14
	pushd $(DESTDIR) & cscript ..\..\scripts\create-admb-shortcut.vbs & popd
......
29 34
	IF NOT EXIST $(DESTDIR) md $(DESTDIR)\utilities
30 35
	IF NOT EXIST $(DESTDIR)\utilities xcopy /I /E /Y ..\utilities $(DESTDIR)\utilities
31 36
	IF NOT EXIST $(DESTDIR) md $(DESTDIR)\src
32
	IF NOT EXIST $(DESTDIR)\src xcopy /I /E /Y ..\examples $(DESTDIR)\src
37
	IF NOT EXIST $(DESTDIR)\src xcopy /I /E /Y ..\src $(DESTDIR)\src
33 38

  
34 39
bins: lexfiles libs
35 40
	IF NOT EXIST $(DESTDIR)\bin md $(DESTDIR)\bin

Also available in: Unified diff