Revision 923

trunk/Makefile (revision 923)
1 1
#default targets depending on compiler
2
all: $(CXX)
3
dist: $(CXX)-dist
4
contrib: $(CXX)-contrib
2
all: $(CXX)-all
5 3
verify: $(CXX)-verify
6
test: $(CXX)-tests
7 4
install: $(CXX)-install
8 5
clean: $(CXX)-clean
9 6

  
10
installer:
11
	rm -f admb.zip admb
12
	ln -sf build/dist/ admb
13
	zip -r admb admb/*
14

  
15
#MinGW
16
mingw: mingw-dist mingw-contrib
17
mingw-dist:
18
	$(MAKE) --directory=src --file=mingw.mak dist
19
mingw-contrib:
20
	$(MAKE) --directory=src --file=mingw.mak contrib
21
mingw-verify:
22
	$(MAKE) --directory=src --file=mingw.mak verify
23
mingw-tests:
24
	$(MAKE) --directory=src --file=mingw.mak tests
25
mingw-clean:
26
	$(MAKE) --directory=src --file=mingw.mak clean
27

  
28
#Borland 5.5
29
bcc: bcc-dist bcc-contrib
30
bcc-dist:
31
	cd src& $(MAKE) -fbcc.mak dist
32
bcc-contrib:
33
	cd src& $(MAKE) -fbcc.mak contrib
34
bcc-verify:
35
	cd src& $(MAKE) -fbcc.mak verify
36
bcc-tests:
37
	cd src& $(MAKE) -fbcc.mak tests
38
bcc-clean:
39
	cd src& $(MAKE) -fbcc.mak clean
40

  
41 7
#Microsoft Visual C++
42
cl: cl-dist cl-contrib
43
cl-dist:
44
	cd src& nmake dist
45
cl-contrib:
46
	cd src& nmake contrib
8
cl: cl-all
9
cl-all:
10
	cd src& nmake all
47 11
cl-verify:
48 12
	cd src& nmake verify
49
cl-tests:
50
	cd src& nmake tests
13
cl-install:
14
	cd src& nmake install
51 15
cl-clean:
52 16
	cd src& nmake clean
53 17

  
54
#Oracle Solaris Studio
55
CC: CC-dist CC-contrib
56
CC-dist:
57
	$(MAKE) --directory=src CC=cc CXX=CC dist
58
CC-contrib:
59
	$(MAKE) --directory=src CC=cc CXX=CC contrib 
60
CC-verify:
61
	$(MAKE) --directory=src CC=cc CXX=CC verify
62
CC-tests:
63
	$(MAKE) --directory=src CC=cc CXX=CC tests
64
CC-install:
65
	$(MAKE) --directory=src CC=cc CXX=CC install
66
CC-clean:
67
	$(MAKE) --directory=src CC=cc CXX=CC clean
68

  
69
#Intel
70
icpc: icpc-dist icpc-contrib
71
icpc-dist:
72
	$(MAKE) --directory=src CXX=icpc CC=icc dist
73
icpc-contrib:
74
	$(MAKE) --directory=src CXX=icpc CC=icc contrib
75
icpc-verify:
76
	$(MAKE) --directory=src CXX=icpc CC=icc verify
77
icpc-tests:
78
	$(MAKE) --directory=src CXX=icpc CC=icc tests
79
icpc-install:
80
	$(MAKE) --directory=src CXX=icpc CC=icc install
81
icpc-clean:
82
	$(MAKE) --directory=src CXX=icpc CC=icc clean
83

  
84 18
#GNU
85
g++: g++-dist g++-contrib
86
g++-dist:
87
	$(MAKE) --directory=src CC=gcc CXX=g++ dist
88
g++-contrib:
89
	$(MAKE) --directory=src CC=gcc CXX=g++ contrib
19
g++: g++-all
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff