1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/lang/nqc/files/patch-aa
Chris Piazza 58407c048a Import of nqc,
A compiler for a simple language for programming the LEGO RCX or CyberMaster
controllers. The language itself is "Not Quite C" and includes preprocessor
and control structures very similar to the C language, but with restrictions
imposed by the limitations of the RCX hardware/firmware itself.

Besides compiling, nqc also provides functions for downloading the RCX
firmware as well as uploading programs to and downloading from the RCX.

PR:		13081
Submitted by:	Kelly Yancey <kbyanc@posi.net>
1999-08-14 22:08:36 +00:00

39 lines
807 B
Plaintext

--- Makefile.orig Wed Apr 28 09:27:59 1999
+++ Makefile Sat Aug 14 14:56:31 1999
@@ -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
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) $(RCXOBJ) $(POBJ)