[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / OpenXM / src / tigers

Annotation of OpenXM/src/tigers/Makefile, Revision 1.2

1.2     ! maekawa     1: # $OpenXM: OpenXM/src/tigers/Makefile,v 1.1 2000/01/07 22:53:42 maekawa Exp $
1.1       maekawa     2:
                      3: TIGERS = ../../../OpenXM_contrib/TiGERS_0.9
                      4: CURDIR = ../../OpenXM/src/tigers
                      5: BINDIR = ../../bin
                      6:
                      7: all: patch
                      8:        @if [ ! -f ./.make_done ]; then \
                      9:                (cd $(TIGERS) ; make all) \
                     10:        fi
                     11:        @touch ./.make_done
                     12:
                     13: install: all
                     14:        install -c -s $(TIGERS)/tigers $(BINDIR)/tigers
                     15:
                     16: clean: patch-clean
                     17:        (cd $(TIGERS) ; rm -f *.o tigers)
                     18:        @rm -f ./.make_done
1.2     ! maekawa    19:
        !            20: distclean:
        !            21:        rm -f $(BINDIR)/tigers
1.1       maekawa    22:
                     23: patch:
                     24:        @if [ ! -f ./.patch_done ]; then \
                     25:                (cd $(TIGERS) ; patch < $(CURDIR)/tigers.patch) \
                     26:        fi
                     27:        @touch ./.patch_done
                     28:
                     29: patch-clean:
                     30:        @if [ -f ./.patch_done ]; then \
                     31:                (cd $(TIGERS) ; patch -R < $(CURDIR)/tigers.patch) \
                     32:        fi
                     33:        @rm -f ./.patch_done

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>