diff options
Diffstat (limited to 'support/c2latex/Makefile')
-rw-r--r-- | support/c2latex/Makefile | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/support/c2latex/Makefile b/support/c2latex/Makefile new file mode 100644 index 0000000000..332c3e3b0e --- /dev/null +++ b/support/c2latex/Makefile @@ -0,0 +1,35 @@ +# c2latex Makefile +# @(#)Makefile 1.1 91/01/16 + +CFLAGS = -O +SRCS = c2latex.c +PROG = c2latex + +all: $(PROG) + +$(PROG): $(SRCS) + $(CC) $(CFLAGS) -o $@ $(SRCS) + +install: $(DEST)/$(PROG) + +$(DEST)/$(PROG): $(SRCS) + make $(PROG) + cp $(PROG) $(DEST) + +doc: $(PROG).dvi + +$(PROG).dvi: $(PROG).tex + latex $(PROG) + +$(PROG).tex: $(PROG) $(PROG).c + $(PROG) $(PROG).c $@ + +clean: + -rm $(PROG) $(PROG).??? $(PROG).shar + +dist: $(PROG).shar + +$(PROG).shar: Makefile $(SRCS) + shar Makefile $(SRCS) > $@ + +.PHONY: all doc install clean dist |