blob: 0a99d9a892b01e36348203db7aa65b726d5b7c8b (
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
43
44
45
|
CC = cc
CFLAGS = -O
TARGET = nuweb
OBJS = main.o pass1.o latex.o output.o input.o scraps.o names.o arena.o
LIBS =
.SUFFIXES: .tex .dvi .w
.w.tex:
nuweb $*
.tex.dvi:
latex $*
.w.dvi:
$(MAKE) $*.tex
$(MAKE) $*.dvi
all:
$(MAKE) $(TARGET).tex
$(MAKE) $(TARGET)
shar: $(TARGET).tex
shar -o $(TARGET).shar Makefile README literate.bib nuweb.w \
nuweb.tex arena.c input.c latex.c main.c names.c \
output.c pass1.c scraps.c
clean:
rm -f *.tex *.log *.dvi *~ *.blg
veryclean:
rm -f *.o *.c *.h *.tex *.log *.dvi *~ *.blg
view: $(TARGET).dvi
xdvi $(TARGET).dvi
print: $(TARGET).dvi
lpr -d $(TARGET).dvi
$(TARGET): $(OBJS)
$(CC) -o $(TARGET) $(OBJS)
|