SOURCES = ray++.cxx DELETABLES = $(SHAREDLIB) config.cache config.log config.status ray++.o default: fast include config/makefile.inc .PHONY: libraries doc docclean progclean distclean all distrib release libraries: compile sharedlib sharedlib: if [ "$(ENABLE_SHARED)" = "YES" ] ;then \ echo ""; \ echo Creating shared library; \ $(LINKER) $(SHARELFLAGS) ray++.o; \ fi fastcompile: ray++.o fast: fastcompile sharedlib doc: (cd docsrc; $(MAKE) doc) docclean: (cd docsrc; $(MAKE) clean) if test -d doc; then \ echo "Removing directory doc"; \ rm -rf doc; \ fi progclean: (cd programs; $(MAKE) clean) confclean: (cd config; rm -f makefile.inc sizecalc.h) distclean: clean progclean docclean confclean all: fast (cd programs; $(MAKE)) # the rules below are for the maintainer only; # they will not work for a distributed version release: distclean (cd ..; \ rm -rf ray++-$(RAYVERSION); \ cp -R ray++ ray++-$(RAYVERSION); \ cd ray++-$(RAYVERSION); \ rm -rf CVS */CVS */*/CVS; \ for i in `ls -1 */*.h */*.cxx */*/*.h */*/*.cxx`; do \ cp $$i TMPFILE; \ cat $(RAYROOT)/header TMPFILE > $$i; \ rm -f TMPFILE; \ done; \ rm -f header; \ cd ..; \ tar cvzf ray++-$(RAYVERSION).tar.gz ray++-$(RAYVERSION); \ rm -rf ray++-$(RAYVERSION))