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

File: [local] / OpenXM / src / asir2000 / Makefile (download)

Revision 1.4, Sun Jan 9 18:41:04 2000 UTC (24 years, 4 months ago) by maekawa
Branch: MAIN
Changes since 1.3: +6 -2 lines

Resolve dependencies by itself.

# $OpenXM: OpenXM/src/asir2000/Makefile,v 1.4 2000/01/09 18:41:04 maekawa Exp $

ASIR = ../../../OpenXM_contrib2/asir2000
PARI = ../pari

all: install-pari configure
	@if [ ! -f ./.make_done ]; then \
		(cd $(ASIR) ; make all) \
	fi
	@touch ./.make_done

install: all
	(cd $(ASIR) ; make install ; make install2)

clean:
	(cd $(ASIR) ; make clean)
	@rm -f ./.make_done ./.configure_done

distclean:
	@cat BINARIES | xargs -t rm -rf

configure:
	@if [ ! -f ./.configure_done ]; then \
		(cd $(ASIR) ; ./configure ; xmkmf -a ; make depend) \
	fi
	@touch ./.configure_done

install-pari:
	(cd $(PARI) ; make install)