changeset 683:868c47d408cc

[project @ 1994-09-09 17:32:29 by jwe]
author jwe
date Fri, 09 Sep 1994 17:32:29 +0000
parents 646ff1b3ff9a
children 4e67ff861c84
files scripts/image/Makefile.in
diffstat 1 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/image/Makefile.in	Fri Sep 09 15:45:41 1994 +0000
+++ b/scripts/image/Makefile.in	Fri Sep 09 17:32:29 1994 +0000
@@ -27,9 +27,12 @@
 FCN_FILES = $(wildcard $(srcdir)/*.m)
 FCN_FILES_NO_DIR = $(notdir $(FCN_FILES))
 
-all:
+all: octtopnm
 .PHONY: all
 
+octtopnm: octtopnm.o
+	$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o octave
+
 install: all
 	if test -d $(fcnfiledir)/$(script_sub_dir) ; then true ; \
 	else $(TOPDIR)/mkpath $(fcnfiledir)/$(script_sub_dir) ; fi
@@ -37,12 +40,16 @@
 	  rm -f $(fcnfiledir)/$(script_sub_dir)/$$f ; \
 	  $(INSTALL_DATA) $(srcdir)/$$f $(fcnfiledir)/$(script_sub_dir)/$$f ; \
 	done
+	if test -d $(archlibdir) ; then true ; \
+	else $(TOPDIR)/mkpath $(archlibdir) ; fi
+	$(INSTALL_PROGRAM) octtopnm $(archlibdir)/octtopnm
 .PHONY: install
 
 uninstall:
 	for f in $(FCN_FILES_NO_DIR) ; \
 	  do rm -f $(fcnfiledir)/$(script_sub_dir)/$$f ; \
 	done
+	rm -f $(archlibdir)/octtopnm
 .PHONY: uninstall
 
 clean: