-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile.vc
63 lines (49 loc) · 1.93 KB
/
Makefile.vc
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
# ------------------------------------------------------------------------
# Makefile for demonstation shell of BLT library
# ------------------------------------------------------------------------
include ./win/makedefs
# ------------------------------------------------------------------------
# Source and target installation directories
# ------------------------------------------------------------------------
srcdir = .
instdirs = $(prefix) $(exec_prefix) $(bindir) $(libdir) $(includedir)
# ------------------------------------------------------------------------
# Don't edit anything beyond this point
# ------------------------------------------------------------------------
subdirs = src demos library html
all:
(cd src; $(MAKE) -f Makefile.vc all)
(cd demos; $(MAKE) -f Makefile.vc all)
(cd library; $(MAKE) -f Makefile.vc all)
(cd html; $(MAKE) -f Makefile.vc all)
install: install-dirs install-all install-readme
install-all:
(cd src; $(MAKE) -f Makefile.vc install)
(cd demos; $(MAKE) -f Makefile.vc install)
(cd library; $(MAKE) -f Makefile.vc install)
(cd html; $(MAKE) -f Makefile.vc install)
install-dirs:
@for i in $(instdirs) ; do \
if test ! -d "$$i" ; then \
echo " mkdir $$i" ; \
mkdir $$i ; \
fi ; \
done
install-readme:
$(INSTALL_DATA) $(srcdir)/README $(scriptdir)
$(INSTALL_DATA) $(srcdir)/PROBLEMS $(scriptdir)
$(INSTALL_DATA) $(srcdir)/NEWS $(scriptdir)
clean:
(cd src; $(MAKE) -f Makefile.vc clean)
(cd demos; $(MAKE) -f Makefile.vc clean)
(cd library; $(MAKE) -f Makefile.vc clean)
(cd html; $(MAKE) -f Makefile.vc clean)
$(RM) *.bak *\~ "#"* *pure* .pure*
GENERATED_FILES = \
config.status config.cache config.log Makefile
distclean: clean
(cd src; $(MAKE) -f Makefile.vc distclean)
(cd demos; $(MAKE) -f Makefile.vc distclean)
(cd library; $(MAKE) -f Makefile.vc distclean)
(cd html; $(MAKE) -f Makefile.vc distclean)
$(RM) $(GENERATED_FILES)