home *** CD-ROM | disk | FTP | other *** search
Makefile | 1992-12-15 | 1.5 KB | 68 lines |
- #
- # Makefile for dvips
- # modified for DCC on AMIGADOS by Jonathan Hudson
- # 4th November 1990
-
-
- # for SYSV (and friends which use <string.h> instead of <strings.h>
- # define the c-compiler flag -DSYSV
- SYS = -DSYSV
-
- # libraries to include
- FLIBS= -lm
-
- #MSDOS sets all paths in config.ps
-
- CFLAGS = $(SYS)
-
- #all: dvips afm2tfm squeeze tex.pro texps.pro special.pro finclude.pro texc.pro
-
- SRCS = dospecial.c dviinput.c fontdef.c loadfont.c dvips.c tfmload.c \
- download.c prescan.c scanpage.c skippage.c output.c scalewidth.c \
- dosection.c dopage.c resident.c search.c unpack.c drawPS.c \
- header.c makefont.c repack.c virtualfont.c dpicheck.c finclude.c
-
- OBJS = $(SRCS:"*.c":"*.o")
-
-
- dvips : $(OBJS)
- dcc %(right) -o %(left) $(FLIBS)
-
- $(OBJS) : $(SRCS)
- dcc -c %(right) -o %(left) $(CFLAGS)
-
- resident.o :: paths.h
-
- $(OBJS) :: structures.h
-
- # files required to make a distribution
-
- afm2tfm: afm2tfm.c
- dcc %(right) -o %(left) -mD -lm
-
- squeeze : squeeze.c
- dcc %(right) -o %(left) -lm
-
- tex.pro : tex.lpro squeeze
- squeeze tex.lpro tex.pro
-
- texc.pro: texc.lpro squeeze
- squeeze texc.lpro texc.pro
-
- texc.lpro: tex.lpro
- echo This does "texc.scr tex.lpr texc.lpr" on Unix
- echo For MSDOS, copy tex.lpr to texc.lpr
- echo then edit texc.lpr to remove the code
- echo for uncompressed fonts, and uncomment the
- echo code for unpacking compressed fonts
-
- texps.pro : texps.lpro squeeze
- squeeze texps.lpro texps.pro
-
- special.pro : special.lpro squeeze
- squeeze special.lpro special.pro
-
- finclude.pro: finclude.lpro squeeze
- squeeze finclude.lpro finclude.pro
-
-