home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 October
/
usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso
/
misc
/
volume4
/
troff2lj-v2
/
part01
/
Makefile
< prev
next >
Wrap
Makefile
|
1989-02-03
|
2KB
|
90 lines
# Makefile for troff2lj
# Latest revision: 07/27/88
# There's no "install" target, because that will vary too much from site
# to site and needs some manual intervention anyway.
# CFLAGS might include -DLOHI; see README2.
CFLAGS = -O
DOCS = README README2 Makefile sfp.pic
MANS = \
dewidth.1 download.1 dumpfont.1 hpwidth.1 \
installfont.1 htroff.1 mkhpfi.1 ccfinfo.1 ccfont.1 troff2lj.1 width.1 \
hpfont.5 hpfontinfo.5
HDRS = hpconfig.h hpfinfo.h hpfont.h
SRCS = \
dewidth.c download.c dumpfont.c hpwidth.c mkhpfi.c select.c troff2lj.c \
heqn htroff installfont ccfinfo ccfont width \
fthR.c fthI.c fthB.c fthS.c fiR.c fiI.c fiB.c
PGMS = \
dewidth download dumpfont hpwidth mkhpfi troff2lj
FONT = fthR fthI fthB fthS fiR fiI fiB
all: $(PGMS) $(FONT)
dewidth: dewidth.c
$(CC) $(CFLAGS) dewidth.c -o dewidth
strip dewidth
download: download.c
$(CC) $(CFLAGS) download.c -o download
strip download
dumpfont: dumpfont.c
$(CC) $(CFLAGS) dumpfont.c -o dumpfont
strip dumpfont
hpwidth: hpwidth.c
$(CC) $(CFLAGS) hpwidth.c -o hpwidth
strip hpwidth
mkhpfi: mkhpfi.c
$(CC) $(CFLAGS) mkhpfi.c -o mkhpfi
strip mkhpfi
troff2lj: troff2lj.o select.o
$(CC) -o troff2lj troff2lj.o select.o
strip troff2lj
# Font width files.
fthR: fthR.c
ccfont fthR
fthI: fthI.c
ccfont fthI
fthB: fthB.c
ccfont fthB
fthS: fthS.c
ccfont fthS
# HP fontinfo files.
fiR: fiR.c
ccfinfo fiR
fiI: fiI.c
ccfinfo fiI
fiB: fiB.c
ccfinfo fiB
clean:
rm -f $(PGMS) $(FONT) *.o kit Part* core
# makekit is part of Rich $alz's cshar package.
kit: $(DOCS) $(MANS) $(HDRS) $(SRCS)
makekit -m -p
touch kit
# Add missing default rule for UNOS.
.SUFFIXES: .o
.c.o:
$(CC) $(CFLAGS) -c $<