a47bfe0d74
V1.30 (March 2002) to V1.40 (June 2003) - simultaneous assignments (x1,x2,...,xn) := (a1,a2,...,an) - new functions divide, bit_count, set_workdir, get_workdir, gmtime, stack2string, stack_arraypush, string_scan, realloc, binsearch - some bug fixes (regarding qs_factorize and handling of special variable and value arguments in user defined functions)
42 lines
1.1 KiB
Text
42 lines
1.1 KiB
Text
$NetBSD: patch-aa,v 1.4 2003/08/30 20:49:21 jtb Exp $
|
|
|
|
--- src/Makefile.orig 2003-08-08 19:23:47.000000000 +0100
|
|
+++ src/Makefile 2003-08-08 19:25:03.000000000 +0100
|
|
@@ -4,8 +4,8 @@
|
|
# date: 2003-06-09
|
|
#############################################################
|
|
|
|
-CC = cc
|
|
-CFLAGS = -DUNiX -O
|
|
+#CC = cc
|
|
+#CFLAGS = -DUNiX -O
|
|
# for some compilers it might be necessary to remove the -O flag
|
|
# If you have the GNU gcc compiler on your system, you may wish
|
|
# to use gcc. Then outcomment the first two lines and activate
|
|
@@ -14,7 +14,7 @@
|
|
#CC = gcc
|
|
#CFLAGS = -DUNiX -DPROTO -O -v
|
|
|
|
-MEMFLAG1 = -DMEM=6
|
|
+#MEMFLAG1 = -DMEM=6
|
|
# MEM may be set to any integer value from 1 to 16.
|
|
# This is the size of the ARIBAS heap in Megabytes
|
|
# The value should not exceed one half of the RAM of your machine
|
|
@@ -37,14 +37,14 @@
|
|
terminal.o: logscr.inc
|
|
|
|
.c.o:
|
|
- $(CC) $(CFLAGS) -c $<
|
|
+ $(CC) $(CPPFLAGS) $(CFLAGS) -c $<
|
|
|
|
alloc.o: alloc.c common.h
|
|
- $(CC) $(CFLAGS) $(MEMFLAG) -c alloc.c
|
|
+ $(CC) $(CPPFLAGS) $(CFLAGS) $(MEMFLAG) -c alloc.c
|
|
|
|
$(PROGRAM): $(OBJECTS)
|
|
$(CC) -o $(PROGRAM) $(OBJECTS)
|
|
- strip $(PROGRAM)
|
|
+
|
|
clean:
|
|
\rm *.o
|
|
|