otter (3.3f-1) source/Makefile

Summary

 source/Makefile |   14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

    
download this patch

Patch contents

--- otter-3.3f.orig/source/Makefile
+++ otter-3.3f/source/Makefile
@@ -49,16 +49,20 @@
 # Specify the C compiler.  I recommend gcc (GNU C Compiler) if you have it.
 # In many Linux environments, cc is just a symlink to gcc.
 
-CC = gcc
+# CC = gcc
 
 #############################################################################
 #
 # Specify the compiler flags; include DFLAGS (above) -- Pick one of these
 #
-# optimized
+# default
 
-CFLAGS = -O $(DFLAGS)
+CFLAGS += $(DFLAGS)
 
+# optimized
+#
+# CFLAGS = -O $(DFLAGS)
+#
 #
 # check for strict ANSI conformance with Solaris cc:
 #
@@ -92,7 +96,7 @@
 
 #############################################################################
 
-all: otter install clean
+all: otter install
 
 otter: main.o libotter.a
 	$(CC) $(CFLAGS) main.o libotter.a -o otter
@@ -104,7 +108,7 @@
 	lisp.h fpa2.h
 
 install:
-	/bin/mv otter ../bin
+	/bin/cp otter ../bin
 
 clean:
 	/bin/rm -f *.o