home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 8
/
FreshFishVol8-CD1.bin
/
useful
/
text
/
tex
/
pastex
/
archives
/
dvi2lj-0.49.lha
/
Makefile
< prev
next >
Wrap
Makefile
|
1992-09-09
|
1KB
|
54 lines
# makefile for the dvi-to-(3812 || lj + || lj II || lj IIp ) filter.
#
DEFINES=
CC=cc
CFLAGS=-safp -d amiga -d LJ2P
#LFLAGS=-lc -lm
LFLAGS=-lm -lc
LN = ln +Q
# under Ultrix 4.1 use:
# CFLAGS=-O1 -s
# under AIX 3.1 add the following line:
#LFLAGS=-lbsd
OBJS=findfile.o dvi2xx.o
HFILES=commands.h config.h
PROGRAMS=dvilj2p dvilj2 dvi3812
dvilj2p: dvi2xx.c ${OBJS} $(HFILES)
$(LN) -o dvilj2p ${OBJS} $(LFLAGS)
all: $(PROGRAMS)
dvi3812: dvi2xx.c ${OBJS} $(HFILES)
$(CC) ${CFLAGS} ${DEFINES} -DIBM3812 -o $@ dvi2xx.c ${OBJS} ${LFLAGS}
dvilj2: dvi2xx.c ${OBJS} $(HFILES)
$(CC) ${CFLAGS} ${DEFINES} -DLJ -o $@ dvi2xx.c ${OBJS} ${LFLAGS}
findfile.o: findfile.c config.h
$(CC) ${CFLAGS} ${DEFINES} -c findfile.c
clean:
delete $(OBJS) $(PROGRAMS)
shar:
shar ./dvi2xx.c ./commands.h ./config.h ./findfile.c ./Makefile \
./testpage.tex ./dvi2xx.history ./dvi2xx.1 ./graybox.sty \
./dvi2xx.make ./dvi2xx.049 > dvi2xx.shar
tar:
pdtar zcvf dvi2xx.tar.Z ./dvi2xx.c ./commands.h ./config.h \
./findfile.c ./Makefile ./testpage.tex ./dvi2xx.history \
./dvi2xx.1 ./graybox.sty ./dvi2xx.make ./dvi2xx.049
shar dvi2xx.tar.Z > dvi2xx.shar
testfiles:
./dvilj2 -eftable.lj2 ftable
./dvilj2p -eftable.lj2p ftable
./dvi3812 ftab2