Debian Codegraph @

Makefile.vc

raw
1
2 # ------------------------------------------------------------------------
3 # Makefile for demonstation shell of BLT library
4 # ------------------------------------------------------------------------
5
6 include ./win/makedefs
7
8 # ------------------------------------------------------------------------
9 # Source and target installation directories
10 # ------------------------------------------------------------------------
11
12 srcdir = .
13 instdirs = $(prefix) $(exec_prefix) $(bindir) $(libdir) $(includedir)
14
15 # ------------------------------------------------------------------------
16 # Don't edit anything beyond this point
17 # ------------------------------------------------------------------------
18
19 subdirs = src demos library html
20
21 all:
22 (cd src; $(MAKE) -f Makefile.vc all)
23 (cd demos; $(MAKE) -f Makefile.vc all)
24 (cd library; $(MAKE) -f Makefile.vc all)
25 (cd html; $(MAKE) -f Makefile.vc all)
26
27 install: install-dirs install-all install-readme
28
29 install-all:
30 (cd src; $(MAKE) -f Makefile.vc install)
31 (cd demos; $(MAKE) -f Makefile.vc install)
32 (cd library; $(MAKE) -f Makefile.vc install)
33 (cd html; $(MAKE) -f Makefile.vc install)
34
35 install-dirs:
36 @for i in $(instdirs) ; do \
37 if test ! -d "$$i" ; then \
38 echo " mkdir $$i" ; \
39 mkdir $$i ; \
40 fi ; \
41 done
42
43 install-readme:
44 $(INSTALL_DATA) $(srcdir)/README $(scriptdir)
45 $(INSTALL_DATA) $(srcdir)/PROBLEMS $(scriptdir)
46 $(INSTALL_DATA) $(srcdir)/NEWS $(scriptdir)
47
48 clean:
49 (cd src; $(MAKE) -f Makefile.vc clean)
50 (cd demos; $(MAKE) -f Makefile.vc clean)
51 (cd library; $(MAKE) -f Makefile.vc clean)
52 (cd html; $(MAKE) -f Makefile.vc clean)
53 $(RM) *.bak *\~ "#"* *pure* .pure*
54
55 GENERATED_FILES = \
56 config.status config.cache config.log Makefile
57
58 distclean: clean
59 (cd src; $(MAKE) -f Makefile.vc distclean)
60 (cd demos; $(MAKE) -f Makefile.vc distclean)
61 (cd library; $(MAKE) -f Makefile.vc distclean)
62 (cd html; $(MAKE) -f Makefile.vc distclean)
63 $(RM) $(GENERATED_FILES)