2 # ------------------------------------------------------------------------
3 # Makefile for demonstation shell of BLT library
4 # ------------------------------------------------------------------------
8 # ------------------------------------------------------------------------
9 # Source and target installation directories
10 # ------------------------------------------------------------------------
13 instdirs = $(prefix) $(exec_prefix) $(bindir) $(libdir) $(includedir)
15 # ------------------------------------------------------------------------
16 # Don't edit anything beyond this point
17 # ------------------------------------------------------------------------
19 subdirs = src demos library html
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)
27 install: install-dirs install-all install-readme
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)
36 @for i in $(instdirs) ; do \
37 if test ! -d "$$i" ; then \
44 $(INSTALL_DATA) $(srcdir)/README $(scriptdir)
45 $(INSTALL_DATA) $(srcdir)/PROBLEMS $(scriptdir)
46 $(INSTALL_DATA) $(srcdir)/NEWS $(scriptdir)
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*
56 config.status config.cache config.log Makefile
59 $(RM) $(GENERATED_FILES)