version 1.4, 1999/11/16 17:45:30 |
version 1.5, 1999/11/17 07:46:07 |
|
|
# $OpenXM$ |
# $OpenXM: OpenXM/src/gnuplot-diff/Makefile,v 1.4 1999/11/16 17:45:30 maekawa Exp $ |
|
|
GNUPLOT = ../gnuplot |
GNUPLOT = ../gnuplot |
BINDIR = ../../bin |
BINDIR = ../../bin |
|
|
all : |
all : patch |
(cd $(GNUPLOT) ; patch < ../gnuplot-diff/plot.c.diff) |
|
(cd $(GNUPLOT) ; ./configure --with-x ; make ) |
(cd $(GNUPLOT) ; ./configure --with-x ; make ) |
/bin/rm -f $(BINDIR)/gnuplot4ox |
/bin/rm -f $(BINDIR)/gnuplot4ox |
mv $(GNUPLOT)/gnuplot $(BINDIR)/gnuplot4ox |
mv $(GNUPLOT)/gnuplot $(BINDIR)/gnuplot4ox |
mv $(GNUPLOT)/gnuplot_x11 $(BINDIR)/gnuplot_x11 |
mv $(GNUPLOT)/gnuplot_x11 $(BINDIR)/gnuplot_x11 |
|
|
clean : |
clean : patch-clean |
(cd $(GNUPLOT) ; mv ./plot.c.orig plot.c) |
|
(cd $(GNUPLOT) ; make distclean ) |
(cd $(GNUPLOT) ; make distclean ) |
/bin/rm -f $(BINDIR)/gnuplot4ox $(BINDIR)/gnuplot_x11 |
/bin/rm -f $(BINDIR)/gnuplot4ox $(BINDIR)/gnuplot_x11 |
|
|
|
patch: |
|
(cd $(GNUPLOT) ; patch < ../gnuplot-diff/plot.c.diff) |
|
|
|
patch-clean: |
|
(cd $(GNUPLOT) ; mv ./plot.c.orig plot.c ; rm -f plot.c.rej) |