File: Makefile

package info (click to toggle)
ats-lang-anairiats 0.2.3-1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 19,096 kB
  • sloc: ansic: 222,427; makefile: 2,250; sh: 661
file content (91 lines) | stat: -rw-r--r-- 2,649 bytes parent folder | download
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
test: compall
#
#
# Makefile for some K&R examples
#
#

######

.PHONY: all
all: checkall

######

checkall:: ; make -C Chapter01 checkall
checkall:: ; make -C Chapter02 checkall
checkall:: ; make -C Chapter03 checkall
checkall:: ; make -C Chapter04 checkall
checkall:: ; make -C Chapter05 checkall
checkall:: ; make -C Chapter06 checkall
checkall:: ; make -C Chapter07 checkall
checkall:: ; make -C Chapter08 checkall

######

compall:: ; make -C Chapter01 compall
compall:: ; make -C Chapter02 compall
compall:: ; make -C Chapter03 compall
compall:: ; make -C Chapter04 compall
compall:: ; make -C Chapter05 compall
compall:: ; make -C Chapter06 compall
compall:: ; make -C Chapter07 compall
compall:: ; make -C Chapter08 compall

######

html:: ; make -C Chapter01 html
html:: ; make -C Chapter02 html
html:: ; make -C Chapter03 html
html:: ; make -C Chapter04 html
html:: ; make -C Chapter05 html
html:: ; make -C Chapter06 html
html:: ; make -C Chapter07 html
html:: ; make -C Chapter08 html  

######

update:: update01
update01:: ; scp Chapter01/*.dats Chapter01/*_dats.html \
  ats-hwxi,ats-lang@web.sourceforge.net:htdocs/EXAMPLE/KernighanRitchie/Chapter01

update:: update02
update02:: ; scp Chapter02/*.dats Chapter02/*_dats.html \
  ats-hwxi,ats-lang@web.sourceforge.net:htdocs/EXAMPLE/KernighanRitchie/Chapter02

update:: update03
update03:: ; scp Chapter03/*.dats Chapter03/*_dats.html \
  ats-hwxi,ats-lang@web.sourceforge.net:htdocs/EXAMPLE/KernighanRitchie/Chapter03

update:: update04
update04:: ; scp Chapter04/*.dats Chapter04/*_dats.html \
  ats-hwxi,ats-lang@web.sourceforge.net:htdocs/EXAMPLE/KernighanRitchie/Chapter04

update:: update05
update05:: ; scp Chapter05/*.dats Chapter05/*_dats.html \
  ats-hwxi,ats-lang@web.sourceforge.net:htdocs/EXAMPLE/KernighanRitchie/Chapter05

update:: update06
update06:: ; scp Chapter06/*.dats Chapter06/*_dats.html \
  ats-hwxi,ats-lang@web.sourceforge.net:htdocs/EXAMPLE/KernighanRitchie/Chapter06

update:: update07
update07:: ; scp Chapter07/*.dats Chapter07/*_dats.html \
  ats-hwxi,ats-lang@web.sourceforge.net:htdocs/EXAMPLE/KernighanRitchie/Chapter07

update:: update08
update08:: ; scp Chapter08/*.dats Chapter08/*_dats.html \
  ats-hwxi,ats-lang@web.sourceforge.net:htdocs/EXAMPLE/KernighanRitchie/Chapter08

######

cleanall:: ; make -C  Chapter01 cleanall
cleanall:: ; make -C  Chapter02 cleanall
cleanall:: ; make -C  Chapter03 cleanall
cleanall:: ; make -C  Chapter04 cleanall
cleanall:: ; make -C  Chapter05 cleanall
cleanall:: ; make -C  Chapter06 cleanall
cleanall:: ; make -C  Chapter07 cleanall
cleanall:: ; make -C  Chapter08 cleanall

###### end of [Makefile] ######