# 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