summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/eepic/fig2eepic/makefile
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-12-27 19:32:54 +0000
committerKarl Berry <karl@freefriends.org>2007-12-27 19:32:54 +0000
commitea97d8d583ade985240920e9d8659672bc7173a4 (patch)
tree3f8678f4f2dbfd13df518fb892a4f05b7ed0d79e /Master/texmf-dist/doc/latex/eepic/fig2eepic/makefile
parent9e3f8f12f6ee438a53df9376ea52d200bb13f62a (diff)
eepic doc update (23dec07)
git-svn-id: svn://tug.org/texlive/trunk@5957 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/eepic/fig2eepic/makefile')
-rw-r--r--Master/texmf-dist/doc/latex/eepic/fig2eepic/makefile35
1 files changed, 35 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/eepic/fig2eepic/makefile b/Master/texmf-dist/doc/latex/eepic/fig2eepic/makefile
new file mode 100644
index 00000000000..6574890b8d8
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/eepic/fig2eepic/makefile
@@ -0,0 +1,35 @@
+# Fig2epic : FIG to EPIC translator
+#
+# Conrad Kwok
+# Modified from fig2pic which was modified from f2ps
+#
+
+SRCDIR = ../src
+SRCLIB = $(SRCDIR)/lib.a
+
+LIBS = -lm
+#
+# Use of gcc is recommended whenever available.
+# -Inlcude DNoVPRINTF in CFLAGS if vprintf is not included in the library
+# Include -DNoConfigFile and remove config.* if no configuration
+# file is desired.
+#
+CFLAGS = -O $(CROSS)
+CC = gcc $(CFLAGS) -I$(SRCDIR)
+
+fig2epic : fig2epic.o config.o $(SRCLIB)
+ $(CC) fig2epic.o config.o $(SRCLIB) -lm -o fig2epic
+
+# Include:
+# -DINT32BIT when int is 32 bits long
+# -DOldFashion when compiled using cc on Ultrix and BSD 4.x
+config.o : config.c
+ $(CC) -DINT32BIT -c config.c
+
+$(SRCLIB):
+ (cd ../src; make)
+
+#########
+clean :
+ rm -f *.o fig2epic core
+