Revision 1034

trunk/src/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
trunk/Makefile (revision 1034)
1 1
#default targets depending on compiler
2 2
all: $(CXX)-all
3
debug: $(CXX)-debug
3 4
verify: $(CXX)-verify
4 5
test: $(CXX)-test
5 6
install: $(CXX)-install
......
25 26
cl: cl-all
26 27
cl-all:
27 28
	cd src& nmake all
29
cl-debug:
30
	cd src& nmake DEBUG=1 all
28 31
cl-verify:
29 32
	cd src& nmake verify
30 33
cl-test:
......
38 41
g++: g++-all
39 42
g++-all:
40 43
	$(MAKE) --directory=src CC=gcc CXX=g++ all
44
g++-debug:
45
	$(MAKE) --directory=src CC=gcc CXX=g++ DEBUG=1 all
41 46
g++-verify:
42 47
	$(MAKE) --directory=src CC=gcc CXX=g++ verify
43 48
g++-test:
......
51 56
clang++: clang++-all
52 57
clang++-all:
53 58
	$(MAKE) --directory=src CC=clang CXX=clang++ all
59
clang++-debug:
60
	$(MAKE) --directory=src CC=clang CXX=clang++ DEBUG=1 all
54 61
clang++-verify:
55 62
	$(MAKE) --directory=src CC=clang CXX=clang++ verify
56 63
clang++-test:
......
64 71
c++: c++-all
65 72
c++-all:
66 73
	$(MAKE) --directory=src CC=cc CXX=c++ all
74
c++-debug:
75
	$(MAKE) --directory=src CC=cc CXX=c++ DEBUG=1 all
67 76
c++-verify:
68 77
	$(MAKE) --directory=src CC=cc CXX=c++ verify
69 78
c++-test:
......
77 86
CC: CC-all
78 87
CC-all:
79 88
	$(MAKE) --directory=src CC=cc CXX=CC all
89
CC-debug:
90
	$(MAKE) --directory=src CC=cc CXX=CC DEBUG=1 all
80 91
CC-verify:
81 92
	$(MAKE) --directory=src CC=cc CXX=CC verify
82 93
CC-test:
......
90 101
icpc: icpc-all
91 102
icpc-all:
92 103
	$(MAKE) --directory=src CC=icc CXX=icpc all
104
icpc-debug:
105
	$(MAKE) --directory=src CC=icc CXX=icpc DEBUG=1 all
93 106
icpc-verify:
94 107
	$(MAKE) --directory=src CC=icc CXX=icpc verify
95 108
icpc-test:
......
103 116
bcc: bcc-all
104 117
bcc-all:
105 118
	cd src& $(MAKE) -fbcc.mak all
119
bcc-debug:
106 120
bcc-verify:
107 121
	cd src& $(MAKE) -fbcc.mak verify
108 122
bcc-test:

Also available in: Unified diff