diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /support/tgrind/makefile |
Initial commit
Diffstat (limited to 'support/tgrind/makefile')
-rw-r--r-- | support/tgrind/makefile | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/support/tgrind/makefile b/support/tgrind/makefile new file mode 100644 index 0000000000..cff6b98697 --- /dev/null +++ b/support/tgrind/makefile @@ -0,0 +1,30 @@ +# @(#)Makefile 4.1 (Berkeley) 10/19/82 +# +DESTDIR=/usr/local +DEFSFILE=/usr/local/lib/vgrindefs +TEXINPUTS=/usr/lib/tex/macros + +CFLAGS=-O -g -DDEBUG +SOURCES=tfontedpr.c vgrindefs.c regexp.c retest.c +CMDS=tfontedpr retest +OBJS=retest.o regexp.o tfontedpr.o vgrindefs.o + +all: $(CMDS) + +tfontedpr: tfontedpr.o vgrindefs.o regexp.o + cc ${CFLAGS} -o tfontedpr tfontedpr.o vgrindefs.o regexp.o + +tfontedpr.o: tfontedpr.c + cc ${CFLAGS} -DDEFSFILE=\"${DEFSFILE}\" -c tfontedpr.c + +retest: retest.o regexp.o + cc ${CFLAGS} -o retest retest.o regexp.o + +install: all + install -s tfontedpr ${DESTDIR}/lib/tfontedpr + install -c tgrind.sh ${DESTDIR}/bin/tgrind + install -c tgrindmac.tex ${TEXINPUTS}/tgrindmac.tex + install -c vgrindefs.src ${DEFSFILE} + +clean: + rm -f ${CMDS} ${OBJS} |