CFLAGS=-p -O all: isomorph isomorph: isomorph.o $(CC) $(CFLAGS) -o $@ $< print: tgrind -h "Michael J. Gourlay" isomorph.c dvips -o isomorph.c.ps isomorph.c.dvi tgrind -h "Michael J. Gourlay" iso-update.c dvips -o iso-update.c.ps iso-update.c.dvi output: more *.prof > prof.more pr -h " --- isomorphism profiles --- Michael J. Gourlay --- " prof.more > prof.pr -sdiff -w 128 fast.out slow.out > out.compare pr -h " --- isomorphism output --- Michael J. Gourlay --- " -f -l48 out.compare > out.pr # lp -olandscape out.pr back: if [ -d backup ]; then echo "'backup' already exists" ; exit 1 ; fi if [ ! -d backup ]; then mkdir backup ; fi cp -p *.[ch] *.gr Makefile iso-check backup @echo @echo "NOW MOVE THE BACKUP DIRECTORY: mv backup `date +%d%b%y | tr '[A-Z]' '[a-z]'`" @echo clean: -rm *.o -rm core -rm *.dvi -rm *.tex -rm *.aux -rm *.ps -rm *.log veryclean: clean -rm isomorph -rm *.pr -rm *.out -rm *.prof -rm prof.more -rm out.compare depend: makedepend $(INC) *.c