Mercurial > octave-nkf
diff libcruft/Makerules.in @ 3615:c3b1f34a4748
[project @ 2000-03-21 08:19:19 by jwe]
author | jwe |
---|---|
date | Tue, 21 Mar 2000 08:19:21 +0000 |
parents | 15cddaacbc2d |
children | 8724cf60d51d |
line wrap: on
line diff
--- a/libcruft/Makerules.in Fri Mar 17 11:10:34 2000 +0000 +++ b/libcruft/Makerules.in Tue Mar 21 08:19:21 2000 +0000 @@ -31,21 +31,26 @@ CWD = $(shell pwd) THISDIR = $(notdir $(CWD)) -LIBCRUFT := ../libcruft.$(LIBEXT) - LIBCRUFT_OBJS = $(CRUFT_OBJ) $(SPECIAL_DEPEND) -LIBCRUFT_DEPS = $(LIBCRUFT)($(LIBCRUFT_OBJS)) - ifeq ($(STATIC_LIBS), true) - LIBCRUFT_DEPEND := $(LIBCRUFT_DEPS) + LIBCRUFT_DEPEND := $(LIBCRUFT_OBJS) endif all: pic $(LIBCRUFT_DEPEND) $(CRUFT_PICOBJ) $(SPECIAL_PICDEPEND) + @echo "warning: run make in parent directory to update libraries" .PHONY: all .PRECIOUS: $(LIBCRUFT_OBJS) +stmp-pic: pic + @if [ -f stmp-pic ]; then \ + true; \ + else \ + echo "touch stmp-pic"; \ + touch stmp-pic; \ + fi + pic: @if [ -d pic ]; then \ true; \ @@ -54,6 +59,8 @@ mkdir pic; \ fi +$(CRUFT_PICOBJ): stmp-pic + install:: all .PHONY: install @@ -68,15 +75,18 @@ clean:: rm -f *.a *.o pic/*.o + -rmdir pic + rm -f stmp-pic .PHONY: clean mostlyclean:: rm -f *.o pic/*.o + -rmdir pic + rm -f stmp-pic .PHONY: mostlyclean distclean:: clean rm -f Makefile - -rmdir pic .PHONY: distclean maintainer-clean:: distclean