From d7f37f3974f5a2abffb6cddd51151f7376dbc92b Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Sun, 26 Apr 2015 00:17:42 +0100 Subject: [PATCH] Guile gitignore and consistent naming in examples Use my-guile for the executable for all the augmented examples Fix gitignore for Guile --- .gitignore | 3 +++ Examples/guile/matrix/Makefile | 2 +- Examples/guile/matrix/README | 2 +- Examples/guile/port/Makefile | 2 +- Examples/guile/port/README | 2 +- 5 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 95edbf140..4001af7c3 100644 --- a/.gitignore +++ b/.gitignore @@ -133,6 +133,9 @@ Examples/d/**/runme *.[5689] *_gc.c +# Guile +Examples/guile/*/my-guile + # Java Examples/test-suite/java/*/ Examples/java/*/*.java diff --git a/Examples/guile/matrix/Makefile b/Examples/guile/matrix/Makefile index 53638c867..9e541c36f 100644 --- a/Examples/guile/matrix/Makefile +++ b/Examples/guile/matrix/Makefile @@ -1,7 +1,7 @@ TOP = ../.. SWIG = $(TOP)/../preinst-swig SRCS = matrix.c vector.c -TARGET = matrix +TARGET = my-guile INTERFACE = example.i check: build diff --git a/Examples/guile/matrix/README b/Examples/guile/matrix/README index db7395b70..496e81bf1 100644 --- a/Examples/guile/matrix/README +++ b/Examples/guile/matrix/README @@ -6,7 +6,7 @@ type the following : Alternatively, use the command-line: - ./matrix -e do-test -s runme.scm + ./my-guile -e do-test -s runme.scm Or, if your operating system is spiffy enough: diff --git a/Examples/guile/port/Makefile b/Examples/guile/port/Makefile index 95a3a479f..0274dbf9b 100644 --- a/Examples/guile/port/Makefile +++ b/Examples/guile/port/Makefile @@ -1,7 +1,7 @@ TOP = ../.. SWIG = $(TOP)/../preinst-swig SRCS = example.c -TARGET = port +TARGET = my-guile INTERFACE = example.i check: build diff --git a/Examples/guile/port/README b/Examples/guile/port/README index 784e39e5d..174d8767a 100644 --- a/Examples/guile/port/README +++ b/Examples/guile/port/README @@ -1,2 +1,2 @@ This example illustrates the translation from Scheme file ports to -temporary FILE streams. Read the source and run ./port -s runme.scm +temporary FILE streams. Read the source and run ./my-guile -s runme.scm