Mercurial > hg > octave-lyh
view libcruft/Makerules.in @ 64:bd04d91a7a4a
[project @ 1993-08-15 05:08:48 by jwe]
(mk_tmp_hist_file): New function, extracted from do_edit_history.
(do_edit_history): Simplify using mk_tmp_hist_file.
(do_run_history): New function.
(edit_history_repl_hist): New function.
author | jwe |
---|---|
date | Sun, 15 Aug 1993 05:08:48 +0000 |
parents | 73cca179ce1f |
children | 9f01b6c2a607 |
line wrap: on
line source
# # Common rules for octave's libcruft directories. # # John W. Eaton # jwe@che.utexas.edu # Department of Chemical Engineering # The University of Texas at Austin SOURCES = *.f DISTFILES = Makefile.in $(SOURCES) $(SPECIAL) CRUFT_FSRC = $(wildcard $(srcdir)/*.f) CRUFT_BASE = $(notdir $(CRUFT_FSRC)) CRUFT_CSRC = $(patsubst %.f, %.c, $(CRUFT_BASE)) CRUFT_OBJ = $(patsubst %.f, %.o, $(CRUFT_BASE)) CWD = $(shell pwd) THISDIR = $(notdir $(CWD)) all: $(CRUFT_OBJ) $(SPECIAL_DEPEND) .PHONY: all install: all .PHONY: install uninstall: .PHONY: uninstall tags: $(SOURCES) ctags $(SOURCES) TAGS: $(SOURCES) etags $(SOURCES) clean: rm -f *.a *.o .PHONY: clean mostlyclean: rm -f *.o .PHONY: mostlyclean realclean: clean rm -f tags TAGS Makefile .PHONY: realclean local-dist: ln $(DISTFILES) ../../`cat ../../.fname`/libcruft/$(THISDIR) .PHONY: local-dist dist: ln $(EXTERNAL_DISTFILES) ../../`cat ../../.fname`/libcruft/$(THISDIR) .PHONY: dist