# DVI=dvi CFLAGS=-DDEBUG -g -DSTAT # Change the following three directories to match your installation WEBSOURCE=$(HOME)/src/web# # root of the WEB source distribution DEST=/usr/charybdis/ada/bin# # place where the executables go MACROS=$(HOME)/tex/macros# # place where the macros go MASTER=$(WEBSOURCE)/master# # master source directory CTANGLE=ceetangle -I$(MASTER) CWEAVE=ceeweave -I$(MASTER) AWKTANGLE=ktangle -I$(MASTER) depend: depend.o $(MASTER)/pathopen.o cc $(CFLAGS) -o $(DEST)/depend depend.o $(MASTER)/pathopen.o depend.c: depend.web $(CTANGLE) depend $(MASTER)/pathopen.c: $(MASTER)/pathopen.web # no change file $(CTANGLE) $(MASTER)/pathopen mv pathopen.h $(MASTER) $(MASTER)/pathopen.o: $(MASTER)/pathopen.c cc $(CFLAGS) -c $(MASTER)/pathopen.c mv pathopen.o $(MASTER) # This cleanup applies to every language clean: if [ -f WebMakefile ]; then exit 1; fi # don't clean the master! if [ -f spiderman.tex ]; then exit 1; fi # don't clean the manual! # -rm -f tangle.* weave.* common.* # remove links that may be obsolete # -rm -f *.unsorted *.list grammar.web outtoks.web scraps.web # -rm -f cycle.test spider.slog -rm -f *.c *.o *.tex *.toc *.dvi *.log *.makelog *~ *.wlog *.printlog