# Top level Makefile for GVDR programs # # To compile, type 'make'. This leaves executable programs # and subroutine libraries in the subdirectories regex, proj, # libml and gvdr. (You may see three messages from sed like # "sed: ./doc/makefile.in: No such file or directory" which can # be safely ignored.) # # To move these compiled programs to the binary directory, # after typing 'make' type 'make ARCH=arch install', replacing # 'arch' with either 'decmips' or 'sun4'. The programs and # libraries will be installed in the ../arch directory. # # To remove all object files, libraries and executables, type # 'make clean'. Ignore any error messages that this produces. ARCH = decmips SOFTWARE= .. BINDIR = $(SOFTWARE)/$(ARCH) all: cd regex; sh configur --prefix=`pwd`; /bin/make regex.o cd proj; sh configur --prefix=`pwd`; sh install cd libml; make libml libmisc matls cd gvdr; make install: cp regex/regex.o $(BINDIR) cp proj/lib/libproj.a $(BINDIR) cp libml/libmisc.a libml/libml.a libml/matls $(BINDIR) cp gvdr/libgvdr.a gvdr/gvptest gvdr/gvp2mat $(BINDIR) clean: -cd regex; rm -f *.o; -cd proj/src; rm -f *.o *.a -cd libml; make clean -cd gvdr; make clean