-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
58 lines (40 loc) · 1.26 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# $Id$
# Root level makefile
#
# This file is really just a convenience. In eclipse, it's useful to have a
# root level file that calls into the source tree.
BUILD_64BIT = 0
ifeq ($(PLATFORM), )
PLATFORM = windows
endif
ifeq ($(PLATFORM), nomatlab)
all:
cd src; make -f MakeGmat.eclipse all; \
rebuild:
cd src; make -f MakeGmat.eclipse clean; make -f MakeGmat.eclipse all; \
clean:
cd src; make -f MakeGmat.eclipse clean; \
else
ifeq ($(PLATFORM), windows)
all:
cd src; make -f MakeGmat.eclipse all; \
cd ../plugins; make all; \
rebuild:
cd src; make -f MakeGmat.eclipse clean; make -f MakeGmat.eclipse all; \
cd ../plugins; make rebuild; \
clean:
cd src; make -f MakeGmat.eclipse clean; \
cd ../plugins; make clean; \
else
all:
cd src; make -f MakeGmat.eclipse all BUILD_64BIT=$(BUILD_64BIT); \
cd ../plugins; make all BUILD_64BIT=$(BUILD_64BIT); \
rebuild:
cd src; make -f MakeGmat.eclipse clean BUILD_64BIT=$(BUILD_64BIT); \
make -f MakeGmat.eclipse all BUILD_64BIT=$(BUILD_64BIT); \
cd ../plugins; make rebuild BUILD_64BIT=$(BUILD_64BIT); \
clean:
cd src; make -f MakeGmat.eclipse clean BUILD_64BIT=$(BUILD_64BIT); \
cd ../plugins; make clean BUILD_64BIT=$(BUILD_64BIT); \
endif
endif