forked from githwxi/ATS-Postiats
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathMakefile_devl
67 lines (64 loc) · 1.38 KB
/
Makefile_devl
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
63
64
65
66
67
#
# A few simple steps to build ATS2
# This is primarily for people wanting to use the
# (unreleased) version of ATS2 available at GitHub:
#
# https://github.com/githwxi/ATS-Postiats
#
######
#
# author: Hongwei Xi (gmhwxiATgmailDOTcom)
# author: Brandon Barker (Brandon.BarkerATgmailDOTcom)
#
######
#
# Note:
#
# You may need to execute the command-line:
#
# make -f codegen/Makefile_atslib
#
# if you have never done it explicitly before:
#
######
CPF=cp -f
MAKE=make
######
#
all:: bin_patscc
all:: atslib_update
#
#all:: bin_atspkgreloc
#
######
#
src_depend: ; touch src/.depend
src_cleanall: ; $(MAKE) -C src cleanall
#
bin_patscc: \
src_patscc; $(CPF) utils/atscc/patscc bin/patscc
#
src_patscc:: ; $(MAKE) -f codegen/Makefile_atslib
src_patscc:: bin_patsopt ; $(MAKE) -C utils/atscc -f Makefile all
#
bin_patsopt: \
src_patsopt; $(CPF) src/patsopt bin/patsopt
src_patsopt: src_depend src_cleanall ; $(MAKE) -C src -f Makefile all
#
######
#
atslib_update:: ; $(MAKE) -C ccomp/atslib -f Makefile
#
######
#
bin_atspkgreloc:: \
src_atspkgreloc_curl ; \
$(CPF) utils/atspkgreloc/atspkgreloc_curl bin/atspkgreloc_curl
src_atspkgreloc_curl : ; $(MAKE) -C utils/atspkgreloc atspkgreloc_curl
#
bin_atspkgreloc:: \
src_atspkgreloc_wget ; \
$(CPF) utils/atspkgreloc/atspkgreloc_wget bin/atspkgreloc_wget
src_atspkgreloc_wget : ; $(MAKE) -C utils/atspkgreloc atspkgreloc_wget
#
###### end of [Makefile_devl] ######