forked from chapel-lang/chapel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
62 lines (46 loc) · 1.09 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
59
60
61
62
#
# top-level Chapel Makefile
#
export CHPL_MAKE_HOME=$(shell pwd)
include ./make/Makefile.base
default: all
all: comprt
@test -r Makefile.devel && $(MAKE) develall || echo ""
comprt: FORCE
@$(MAKE) compiler
@$(MAKE) runtime
@$(MAKE) modules
compiler: FORCE
cd compiler && $(MAKE)
modules: FORCE
cd modules && $(MAKE)
runtime: FORCE
cd runtime && $(MAKE)
third-party: FORCE
cd third-party && $(MAKE)
clean: FORCE
cd compiler && $(MAKE) clean
cd modules && $(MAKE) clean
cd runtime && $(MAKE) clean
cd third-party && $(MAKE) clean
cleanall: FORCE
cd compiler && $(MAKE) cleanall
cd modules && $(MAKE) cleanall
cd runtime && $(MAKE) cleanall
cd third-party && $(MAKE) cleanall
cleandeps: FORCE
cd compiler && $(MAKE) cleandeps
cd runtime && $(MAKE) cleandeps
clobber: FORCE
cd compiler && $(MAKE) clobber
cd modules && $(MAKE) clobber
cd runtime && $(MAKE) clobber
cd third-party && $(MAKE) clobber
rm -rf bin
rm -rf lib
depend:
@echo "make depend has been deprecated for the time being"
check: all
@bash $(CHPL_MAKE_HOME)/util/test/checkChplInstall
-include Makefile.devel
FORCE: