]>
Commit | Line | Data |
---|---|---|
8fdef769 JR |
1 | diff -ur CocoR-1.50/cplus2/unix.mk CocoR-1.50-compile/cplus2/unix.mk |
2 | --- CocoR-1.50/cplus2/unix.mk 1999-11-21 07:27:41.000000000 +0100 | |
3 | +++ CocoR-1.50-compile/cplus2/unix.mk 2005-12-10 00:03:19.000000000 +0100 | |
4 | @@ -11,10 +11,10 @@ | |
5 | ||
6 | #CC sets the name of the compiler to use (cc, gcc, etc) | |
7 | #You will have to change this to suit your system | |
8 | -#CC = g++ | |
9 | +CC = g++ | |
10 | ||
11 | AR = ar | |
12 | -CFLAGS = -g | |
13 | +CFLAGS = $(OPTFLAGS) | |
14 | DOS2UNIX = ../dos2unix.sh | |
15 | ||
16 | %.o: %.cpp | |
17 | diff -ur CocoR-1.50/sources/unix.mk CocoR-1.50-compile/sources/unix.mk | |
18 | --- CocoR-1.50/sources/unix.mk 2000-04-29 20:52:54.000000000 +0200 | |
19 | +++ CocoR-1.50-compile/sources/unix.mk 2005-12-10 00:02:57.000000000 +0100 | |
20 | @@ -12,11 +12,11 @@ | |
21 | # add -DDebug if required | |
22 | # CFLAGS = -O -DDebug | |
23 | ||
24 | -CFLAGS = -O | |
25 | +CFLAGS = $(OPTFLAGS) | |
26 | ||
27 | #CC sets the name of the compiler to use (cc, gcc, etc) | |
28 | #You will have to change this to suit your system | |
29 | -#CC = cc | |
30 | +CC = gcc | |
31 | ||
32 | DOS2UNIX = ../dos2unix.sh | |
33 | ||
34 | diff -ur CocoR-1.50/taste/unix.mk CocoR-1.50-compile/taste/unix.mk | |
35 | --- CocoR-1.50/taste/unix.mk 1999-11-21 07:34:03.000000000 +0100 | |
36 | +++ CocoR-1.50-compile/taste/unix.mk 2005-12-10 00:02:42.000000000 +0100 | |
37 | @@ -9,11 +9,11 @@ | |
38 | #CFLAGS for debugging (gdb) | |
39 | #CFLAGS = -ggdb | |
40 | #CFLAGS for production | |
41 | -CFLAGS = -O | |
42 | +CFLAGS = $(OPTFLAGS) | |
43 | ||
44 | #CC sets the name of the compiler to use (cc, gcc, etc) | |
45 | #You will have to change this to suit your system | |
46 | -#CC = cc | |
47 | +CC = gcc | |
48 | ||
49 | COCOR = ../cocor | |
50 | DOS2UNIX = ../dos2unix.sh | |
51 | diff -ur CocoR-1.50/taste_cp/unix.mk CocoR-1.50-compile/taste_cp/unix.mk | |
52 | --- CocoR-1.50/taste_cp/unix.mk 1999-11-21 07:34:48.000000000 +0100 | |
53 | +++ CocoR-1.50-compile/taste_cp/unix.mk 2005-12-10 00:02:23.000000000 +0100 | |
54 | @@ -8,9 +8,9 @@ | |
55 | ||
56 | #CC sets the name of the compiler to use (cc, gcc, etc) | |
57 | #You will have to change this to suit your system | |
58 | -#CC = g++ | |
59 | +CC = g++ | |
60 | ||
61 | -CFLAGS = -g -I../cplus2 | |
62 | +CFLAGS = $(OPTFLAGS) -I../cplus2 | |
63 | COCOR = ../cocor | |
64 | DOS2UNIX = ../dos2unix.sh | |
65 | LIB = ../cplus2/cr_lib.a | |
66 | diff -ur CocoR-1.50/unix.mk CocoR-1.50-compile/unix.mk | |
67 | --- CocoR-1.50/unix.mk 1998-04-15 17:48:11.000000000 +0200 | |
68 | +++ CocoR-1.50-compile/unix.mk 2005-12-10 00:09:26.427092250 +0100 | |
69 | @@ -50,7 +50,7 @@ | |
70 | do (cd $$i; $(MAKE) -f unix.mk)\ | |
71 | done | |
72 | ||
73 | -linux: ;$(MAKE) -f unix.mk CC=cc all1 | |
74 | +linux: ;$(MAKE) -f unix.mk all1 | |
75 | solaris: ;$(MAKE) -f unix.mk CC=gcc all1 | |
76 | ||
77 | dos2unix: |