blob: eb2e6768943a294f3179ca73b8ca59e3891d797d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
#
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
|