blob: 1d97387fa07557f389838bb800036c9073699748 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
.POSIX:
CC = c99
CFLAGS = -O3 -Wall -pedantic
OBJS = badroff.o buf.o ll.o sb.o
BIN = /usr/local/bin
phrase-circuit.txt: badroff phrase-circuit.src
./badroff phrase-circuit.src > phrase-circuit.txt
badroff: $(OBJS)
badroff.o: badroff.c buf.h ll.h sb.h
buf.o: buf.c buf.h
ll.o: ll.c ll.h
sb.o: sb.c sb.h
clean:
rm -f badroff $(OBJS) phrase-circuit.txt
install: $(BIN)/badroff
$(BIN)/badroff: badroff
cp -f badroff $(BIN)/badroff
uninstall:
rm -f $(BIN)/badroff
|