home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 October
/
usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso
/
misc
/
volume5
/
lwf
/
part01
/
Makefile
< prev
next >
Wrap
Makefile
|
1989-02-03
|
1KB
|
64 lines
CFLAGS = -O
# Where to put lwf
LWF = /uh5h/ling/lee/bin/lwf
# Where to put the man page
MAN = /uh5h/ling/lee/man/manl/lwf.1
# Where to put the PostScript prologue file
#PROLOGUE = /uh5h/ling/lee/lib/lwf.prologue
#(prologue incorporated -- gl)
# Environment options:
#
# -DPR=\"where pr is if not /bin/pr\"
# -DSYSV For System V (assumes SYSV-style pr)
# -DREVERSE=0 Set to non-zero if page reversal is to be the default
# -DHOSTNAME=\"yourhostname\" If you don't have the hostname() system call
# -DKPLACE=\"/usr/local/lib/k14.snf\" Or wherever the kanji font is
# -DKANJI To include the printing of kanji
#ENV = -DPROLOGUE=\"$(PROLOGUE)\" -DREVERSE=0
ENV = -DREVERSE=0 -DKANJI -DKPLACE=\"k14.snf\"
KFONT = kfont.o
XHEADERS = X.h Xmd.h Xproto.h Xprotostr.h fc.h font.h fontstruct.h \
misc.h os.h servermd.h
all: lwf
lwf: lwf.o range.o $(KFONT)
cc $(CLFAGS) -o lwf lwf.o range.o $(KFONT) -lm
lwf.o: lwf.c
cc $(CFLAGS) -c $(ENV) lwf.c
range.o: range.c
cc $(CFLAGS) -c range.c
kfont.o: kfont.c $(XHEADERS)
cc $(CFLAGS) -c kfont.c
# Create the program to demonstrate and debug the range checking routine
range: range.c
cc $(CFLAGS) -DRANGE_DEBUG -o range range.c
install: lwf lwf.man
# cp prologue $(PROLOGUE)
# chmod 0644 $(PROLOGUE)
cp lwf $(LWF)
chmod 0755 $(LWF)
ls -l $(LWF)
cp lwf.man $(MAN)
rm -f lwf lwf.o range.o kfont.o
lint:
lint -abchx $(ENV) lwf.c
clean:
rm -f core lwf lwf.o range.o kfont.o
shar:
makekit -nlwf. -m