aboutsummaryrefslogtreecommitdiffstats
path: root/lang/nqc/files/patch-aa
blob: e74438e13b7025474b18d7cba77a2ee6a7deb033 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
--- Makefile.orig   Sat Mar 25 17:16:58 2000
+++ Makefile    Sat Apr 29 13:06:05 2000
@@ -27,14 +27,14 @@
 #
 # Pick your C++ compiler. 
 #
-CC=g++
+#CC=g++
 #CC=gcc
 
 #
 # Pick your YACC processor
 #
-YACC = bison -y
-# YACC = yacc
+#YACC = bison -y
+YACC = yacc
 
 #
 # Define the FLEX processor
@@ -46,7 +46,7 @@
 # Use this to define the default device driver name
 # for serial port connections.
 #
-DEFAULT_SERIAL_NAME = "/dev/ttyS0"
+DEFAULT_SERIAL_NAME = "/dev/cuaa0"
 
 
 # other commands
@@ -58,7 +58,7 @@
 
 IFLAGS=-Iplatform -Ircxlib -Inqc -Icompiler
 WFLAGS=-Wall -Wstrict-prototypes -Wmissing-prototypes
-CFLAGS = -O6 -pipe $(IFLAGS) $(WFLAGS) -DDEFAULT_SERIAL_NAME='$(DEFAULT_SERIAL_NAME)'
+CFLAGS += $(IFLAGS) $(WFLAGS) -DDEFAULT_SERIAL_NAME='$(DEFAULT_SERIAL_NAME)'
 
 OBJ = $(NQCOBJ) $(COBJ) $(RCXOBJ) $(POBJ)