-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
43 lines (36 loc) · 770 Bytes
/
Makefile
File metadata and controls
43 lines (36 loc) · 770 Bytes
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
# Makefile
# $HeadURL$
include ../Makefile.common
include Makefile.common
DIRS = ccd c java
top:
@for i in $(DIRS); \
do \
(echo making in $$i...; cd $$i; $(MAKE) ); \
done;
depend:
@for i in $(DIRS); \
do \
(echo depend in $$i...; cd $$i; $(MAKE) depend);\
done;
clean:
$(RM) $(RM_OPTIONS) $(TIDY_OPTIONS)
@for i in $(DIRS); \
do \
(echo clean in $$i...; cd $$i; $(MAKE) clean); \
done;
tidy:
$(RM) $(RM_OPTIONS) $(TIDY_OPTIONS)
@for i in $(DIRS); \
do \
(echo tidy in $$i...; cd $$i; $(MAKE) tidy); \
done;
backup:
@for i in $(DIRS); \
do \
(echo backup in $$i...; cd $$i; $(MAKE) backup); \
done;
$(RM) $(RM_OPTIONS) $(TIDY_OPTIONS)
$(RM) $(RM_OPTIONS) */core
tar cvf $(BACKUP_DIR)/sprat.tar .
compress $(BACKUP_DIR)/sprat.tar