ChipMaster's bwBASIC This also includes history going back to v2.10. *WARN* some binary files might have been corrupted by CRLF.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Makefile.ncu 3.0 KiB

v2.20pl2 Patch level 2 release by Jon B. Volkoff, 11 October 1997 LIST OF PATCHES TO 2.20: bwb_cmd.c Fixed calling stack level logic in RETURN statement to prevent erroneous "RETURN without GOSUB" messages. bwb_cnd.c bwb_stc.c Changed continuation condition for WHILE, ELSEIF, and LOOP UNTIL to be != FALSE, not == TRUE. More in line with common commercial BASIC implementations. bwb_mth.c Fixed initialization in VAL function so that old results are not later returned as values. bwb_var.c Added parenthesis level checking to dim_getparams. Using multi-level expressions as array subscripts was causing the program to bomb. bwx_iqc.c bwx_tty.c bwb_mes.h Added second copyright notice. bwb_dio.c bwb_str.c Added support for strings longer than 255 characters. bwb_prn.c Disabled tab expansion and print width checks when not printing to a file. bwb_inp.c Fixed LINE INPUT file reads to accommodate strings of length MAXSTRINGSIZE. bwx_ncu.h bwx_ncu.c New files. Code for UNIX ncurses interface, compliments of L.C. Benschop, Eindhoven, The Netherlands. Makefile.ncu New files. Sample makefile for ncurses implementation. bwbasic.h Revised defines for MININTSIZE and MAXINTSIZE from 16-bit to 32-bit limits. Revised define for MAXSTRINGSIZE from 255 to 5000 characters. Changed string length from unsigned char to unsigned int to support strings longer than 255 characters. Added support for new ncurses package. Revised VERSION define to reflect above changes. To implement these patches simply replace the old versions of the above source files with the new ones and remake bwbasic.
3 years ago
v2.20pl2 Patch level 2 release by Jon B. Volkoff, 11 October 1997 LIST OF PATCHES TO 2.20: bwb_cmd.c Fixed calling stack level logic in RETURN statement to prevent erroneous "RETURN without GOSUB" messages. bwb_cnd.c bwb_stc.c Changed continuation condition for WHILE, ELSEIF, and LOOP UNTIL to be != FALSE, not == TRUE. More in line with common commercial BASIC implementations. bwb_mth.c Fixed initialization in VAL function so that old results are not later returned as values. bwb_var.c Added parenthesis level checking to dim_getparams. Using multi-level expressions as array subscripts was causing the program to bomb. bwx_iqc.c bwx_tty.c bwb_mes.h Added second copyright notice. bwb_dio.c bwb_str.c Added support for strings longer than 255 characters. bwb_prn.c Disabled tab expansion and print width checks when not printing to a file. bwb_inp.c Fixed LINE INPUT file reads to accommodate strings of length MAXSTRINGSIZE. bwx_ncu.h bwx_ncu.c New files. Code for UNIX ncurses interface, compliments of L.C. Benschop, Eindhoven, The Netherlands. Makefile.ncu New files. Sample makefile for ncurses implementation. bwbasic.h Revised defines for MININTSIZE and MAXINTSIZE from 16-bit to 32-bit limits. Revised define for MAXSTRINGSIZE from 255 to 5000 characters. Changed string length from unsigned char to unsigned int to support strings longer than 255 characters. Added support for new ncurses package. Revised VERSION define to reflect above changes. To implement these patches simply replace the old versions of the above source files with the new ones and remake bwbasic.
3 years ago
v2.20pl2 Patch level 2 release by Jon B. Volkoff, 11 October 1997 LIST OF PATCHES TO 2.20: bwb_cmd.c Fixed calling stack level logic in RETURN statement to prevent erroneous "RETURN without GOSUB" messages. bwb_cnd.c bwb_stc.c Changed continuation condition for WHILE, ELSEIF, and LOOP UNTIL to be != FALSE, not == TRUE. More in line with common commercial BASIC implementations. bwb_mth.c Fixed initialization in VAL function so that old results are not later returned as values. bwb_var.c Added parenthesis level checking to dim_getparams. Using multi-level expressions as array subscripts was causing the program to bomb. bwx_iqc.c bwx_tty.c bwb_mes.h Added second copyright notice. bwb_dio.c bwb_str.c Added support for strings longer than 255 characters. bwb_prn.c Disabled tab expansion and print width checks when not printing to a file. bwb_inp.c Fixed LINE INPUT file reads to accommodate strings of length MAXSTRINGSIZE. bwx_ncu.h bwx_ncu.c New files. Code for UNIX ncurses interface, compliments of L.C. Benschop, Eindhoven, The Netherlands. Makefile.ncu New files. Sample makefile for ncurses implementation. bwbasic.h Revised defines for MININTSIZE and MAXINTSIZE from 16-bit to 32-bit limits. Revised define for MAXSTRINGSIZE from 255 to 5000 characters. Changed string length from unsigned char to unsigned int to support strings longer than 255 characters. Added support for new ncurses package. Revised VERSION define to reflect above changes. To implement these patches simply replace the old versions of the above source files with the new ones and remake bwbasic.
3 years ago
v2.20pl2 Patch level 2 release by Jon B. Volkoff, 11 October 1997 LIST OF PATCHES TO 2.20: bwb_cmd.c Fixed calling stack level logic in RETURN statement to prevent erroneous "RETURN without GOSUB" messages. bwb_cnd.c bwb_stc.c Changed continuation condition for WHILE, ELSEIF, and LOOP UNTIL to be != FALSE, not == TRUE. More in line with common commercial BASIC implementations. bwb_mth.c Fixed initialization in VAL function so that old results are not later returned as values. bwb_var.c Added parenthesis level checking to dim_getparams. Using multi-level expressions as array subscripts was causing the program to bomb. bwx_iqc.c bwx_tty.c bwb_mes.h Added second copyright notice. bwb_dio.c bwb_str.c Added support for strings longer than 255 characters. bwb_prn.c Disabled tab expansion and print width checks when not printing to a file. bwb_inp.c Fixed LINE INPUT file reads to accommodate strings of length MAXSTRINGSIZE. bwx_ncu.h bwx_ncu.c New files. Code for UNIX ncurses interface, compliments of L.C. Benschop, Eindhoven, The Netherlands. Makefile.ncu New files. Sample makefile for ncurses implementation. bwbasic.h Revised defines for MININTSIZE and MAXINTSIZE from 16-bit to 32-bit limits. Revised define for MAXSTRINGSIZE from 255 to 5000 characters. Changed string length from unsigned char to unsigned int to support strings longer than 255 characters. Added support for new ncurses package. Revised VERSION define to reflect above changes. To implement these patches simply replace the old versions of the above source files with the new ones and remake bwbasic.
3 years ago
v2.20pl2 Patch level 2 release by Jon B. Volkoff, 11 October 1997 LIST OF PATCHES TO 2.20: bwb_cmd.c Fixed calling stack level logic in RETURN statement to prevent erroneous "RETURN without GOSUB" messages. bwb_cnd.c bwb_stc.c Changed continuation condition for WHILE, ELSEIF, and LOOP UNTIL to be != FALSE, not == TRUE. More in line with common commercial BASIC implementations. bwb_mth.c Fixed initialization in VAL function so that old results are not later returned as values. bwb_var.c Added parenthesis level checking to dim_getparams. Using multi-level expressions as array subscripts was causing the program to bomb. bwx_iqc.c bwx_tty.c bwb_mes.h Added second copyright notice. bwb_dio.c bwb_str.c Added support for strings longer than 255 characters. bwb_prn.c Disabled tab expansion and print width checks when not printing to a file. bwb_inp.c Fixed LINE INPUT file reads to accommodate strings of length MAXSTRINGSIZE. bwx_ncu.h bwx_ncu.c New files. Code for UNIX ncurses interface, compliments of L.C. Benschop, Eindhoven, The Netherlands. Makefile.ncu New files. Sample makefile for ncurses implementation. bwbasic.h Revised defines for MININTSIZE and MAXINTSIZE from 16-bit to 32-bit limits. Revised define for MAXSTRINGSIZE from 255 to 5000 characters. Changed string length from unsigned char to unsigned int to support strings longer than 255 characters. Added support for new ncurses package. Revised VERSION define to reflect above changes. To implement these patches simply replace the old versions of the above source files with the new ones and remake bwbasic.
3 years ago
v2.20pl2 Patch level 2 release by Jon B. Volkoff, 11 October 1997 LIST OF PATCHES TO 2.20: bwb_cmd.c Fixed calling stack level logic in RETURN statement to prevent erroneous "RETURN without GOSUB" messages. bwb_cnd.c bwb_stc.c Changed continuation condition for WHILE, ELSEIF, and LOOP UNTIL to be != FALSE, not == TRUE. More in line with common commercial BASIC implementations. bwb_mth.c Fixed initialization in VAL function so that old results are not later returned as values. bwb_var.c Added parenthesis level checking to dim_getparams. Using multi-level expressions as array subscripts was causing the program to bomb. bwx_iqc.c bwx_tty.c bwb_mes.h Added second copyright notice. bwb_dio.c bwb_str.c Added support for strings longer than 255 characters. bwb_prn.c Disabled tab expansion and print width checks when not printing to a file. bwb_inp.c Fixed LINE INPUT file reads to accommodate strings of length MAXSTRINGSIZE. bwx_ncu.h bwx_ncu.c New files. Code for UNIX ncurses interface, compliments of L.C. Benschop, Eindhoven, The Netherlands. Makefile.ncu New files. Sample makefile for ncurses implementation. bwbasic.h Revised defines for MININTSIZE and MAXINTSIZE from 16-bit to 32-bit limits. Revised define for MAXSTRINGSIZE from 255 to 5000 characters. Changed string length from unsigned char to unsigned int to support strings longer than 255 characters. Added support for new ncurses package. Revised VERSION define to reflect above changes. To implement these patches simply replace the old versions of the above source files with the new ones and remake bwbasic.
3 years ago
v2.20pl2 Patch level 2 release by Jon B. Volkoff, 11 October 1997 LIST OF PATCHES TO 2.20: bwb_cmd.c Fixed calling stack level logic in RETURN statement to prevent erroneous "RETURN without GOSUB" messages. bwb_cnd.c bwb_stc.c Changed continuation condition for WHILE, ELSEIF, and LOOP UNTIL to be != FALSE, not == TRUE. More in line with common commercial BASIC implementations. bwb_mth.c Fixed initialization in VAL function so that old results are not later returned as values. bwb_var.c Added parenthesis level checking to dim_getparams. Using multi-level expressions as array subscripts was causing the program to bomb. bwx_iqc.c bwx_tty.c bwb_mes.h Added second copyright notice. bwb_dio.c bwb_str.c Added support for strings longer than 255 characters. bwb_prn.c Disabled tab expansion and print width checks when not printing to a file. bwb_inp.c Fixed LINE INPUT file reads to accommodate strings of length MAXSTRINGSIZE. bwx_ncu.h bwx_ncu.c New files. Code for UNIX ncurses interface, compliments of L.C. Benschop, Eindhoven, The Netherlands. Makefile.ncu New files. Sample makefile for ncurses implementation. bwbasic.h Revised defines for MININTSIZE and MAXINTSIZE from 16-bit to 32-bit limits. Revised define for MAXSTRINGSIZE from 255 to 5000 characters. Changed string length from unsigned char to unsigned int to support strings longer than 255 characters. Added support for new ncurses package. Revised VERSION define to reflect above changes. To implement these patches simply replace the old versions of the above source files with the new ones and remake bwbasic.
3 years ago
v2.20pl2 Patch level 2 release by Jon B. Volkoff, 11 October 1997 LIST OF PATCHES TO 2.20: bwb_cmd.c Fixed calling stack level logic in RETURN statement to prevent erroneous "RETURN without GOSUB" messages. bwb_cnd.c bwb_stc.c Changed continuation condition for WHILE, ELSEIF, and LOOP UNTIL to be != FALSE, not == TRUE. More in line with common commercial BASIC implementations. bwb_mth.c Fixed initialization in VAL function so that old results are not later returned as values. bwb_var.c Added parenthesis level checking to dim_getparams. Using multi-level expressions as array subscripts was causing the program to bomb. bwx_iqc.c bwx_tty.c bwb_mes.h Added second copyright notice. bwb_dio.c bwb_str.c Added support for strings longer than 255 characters. bwb_prn.c Disabled tab expansion and print width checks when not printing to a file. bwb_inp.c Fixed LINE INPUT file reads to accommodate strings of length MAXSTRINGSIZE. bwx_ncu.h bwx_ncu.c New files. Code for UNIX ncurses interface, compliments of L.C. Benschop, Eindhoven, The Netherlands. Makefile.ncu New files. Sample makefile for ncurses implementation. bwbasic.h Revised defines for MININTSIZE and MAXINTSIZE from 16-bit to 32-bit limits. Revised define for MAXSTRINGSIZE from 255 to 5000 characters. Changed string length from unsigned char to unsigned int to support strings longer than 255 characters. Added support for new ncurses package. Revised VERSION define to reflect above changes. To implement these patches simply replace the old versions of the above source files with the new ones and remake bwbasic.
3 years ago
v2.20pl2 Patch level 2 release by Jon B. Volkoff, 11 October 1997 LIST OF PATCHES TO 2.20: bwb_cmd.c Fixed calling stack level logic in RETURN statement to prevent erroneous "RETURN without GOSUB" messages. bwb_cnd.c bwb_stc.c Changed continuation condition for WHILE, ELSEIF, and LOOP UNTIL to be != FALSE, not == TRUE. More in line with common commercial BASIC implementations. bwb_mth.c Fixed initialization in VAL function so that old results are not later returned as values. bwb_var.c Added parenthesis level checking to dim_getparams. Using multi-level expressions as array subscripts was causing the program to bomb. bwx_iqc.c bwx_tty.c bwb_mes.h Added second copyright notice. bwb_dio.c bwb_str.c Added support for strings longer than 255 characters. bwb_prn.c Disabled tab expansion and print width checks when not printing to a file. bwb_inp.c Fixed LINE INPUT file reads to accommodate strings of length MAXSTRINGSIZE. bwx_ncu.h bwx_ncu.c New files. Code for UNIX ncurses interface, compliments of L.C. Benschop, Eindhoven, The Netherlands. Makefile.ncu New files. Sample makefile for ncurses implementation. bwbasic.h Revised defines for MININTSIZE and MAXINTSIZE from 16-bit to 32-bit limits. Revised define for MAXSTRINGSIZE from 255 to 5000 characters. Changed string length from unsigned char to unsigned int to support strings longer than 255 characters. Added support for new ncurses package. Revised VERSION define to reflect above changes. To implement these patches simply replace the old versions of the above source files with the new ones and remake bwbasic.
3 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. # Generated automatically from Makefile.in by configure.
  2. # Unix Makefile for Bywater BASIC Interpreter
  3. ##---------------------------------------------------------------##
  4. ## NOTE: Modifications marked "JBV" were made by Jon B. Volkoff, ##
  5. ## 10/1995 (eidetics@cerf.net). ##
  6. ##---------------------------------------------------------------##
  7. # 2015-04-25 Updated for version 3.00 by Howard Wulf, AF5NE
  8. srcdir = .
  9. VPATH = .
  10. CC = cc
  11. INSTALL = cp
  12. INSTALL_PROGRAM = $(INSTALL)
  13. INSTALL_DATA = $(INSTALL)
  14. DEFS = -DHAVE_STRING=1 -DHAVE_STDLIB=1 -DHAVE_RAISE=1 -DHAVE_UNISTD=1
  15. # Revised by JBV
  16. #CFLAGS = -O
  17. CFLAGS = -g -ansi
  18. # Revised by JBV
  19. #LDFLAGS = -s
  20. prefix = /usr/local
  21. exec_prefix = $(prefix)
  22. bindir = $(exec_prefix)/bin
  23. SHELL = /bin/sh
  24. CFILES= bwbasic.c bwb_cmd.c bwb_cnd.c bwb_dio.c bwb_elx.c\
  25. bwb_exp.c bwb_fnc.c bwb_inp.c bwb_int.c bwb_ops.c\
  26. bwb_prn.c bwb_stc.c bwb_str.c bwb_tbl.c bwb_var.c\
  27. bwd_cmd.c bwd_fun.c bwx_tty.c
  28. OFILES= bwbasic.o bwb_cmd.o bwb_cnd.o bwb_dio.o bwb_elx.o\
  29. bwb_exp.o bwb_fnc.o bwb_inp.o bwb_int.o bwb_ops.o\
  30. bwb_prn.o bwb_stc.o bwb_str.o bwb_tbl.o bwb_var.o\
  31. bwd_cmd.o bwd_fun.o bwx_tty.o
  32. HFILES= bwbasic.h
  33. MISCFILES= COPYING INSTALL Makefile.in README bwbasic.doc\
  34. bwbasic.mak configure.in configure makefile.qcl
  35. TESTFILES= \
  36. abs.bas assign.bas callfunc.bas callsub.bas chain1.bas\
  37. chain2.bas dataread.bas deffn.bas dim.bas doloop.bas\
  38. dowhile.bas elseif.bas end.bas err.bas fncallfn.bas\
  39. fornext.bas function.bas gosub.bas gotolabl.bas ifline.bas\
  40. index.txt input.bas lof.bas loopuntl.bas main.bas\
  41. mlifthen.bas on.bas onerr.bas onerrlbl.bas ongosub.bas\
  42. opentest.bas option.bas putget.bas random.bas selcase.bas\
  43. snglfunc.bas stop.bas term.bas whilwend.bas width.bas\
  44. writeinp.bas pascaltr.bas
  45. DISTFILES= $(CFILES) $(HFILES) $(MISCFILES)
  46. # Revised by JBV
  47. #all: bwbasic
  48. all: bwbasic renum
  49. bwbasic: $(OFILES)
  50. $(CC) $(OFILES) -lm -o $@ $(LDFLAGS)
  51. # Added by JBV
  52. renum:
  53. $(CC) renum.c -o renum
  54. $(OFILES): $(HFILES)
  55. .c.o:
  56. $(CC) -c $(CPPFLAGS) -I$(srcdir) $(DEFS) $(CFLAGS) $<
  57. install: all
  58. $(INSTALL_PROGRAM) bwbasic $(bindir)/bwbasic
  59. uninstall:
  60. rm -f $(bindir)/bwbasic
  61. Makefile: Makefile.in config.status
  62. $(SHELL) config.status
  63. config.status: configure
  64. $(SHELL) config.status --recheck
  65. configure: configure.in
  66. cd $(srcdir); autoconf
  67. TAGS: $(CFILES)
  68. etags $(CFILES)
  69. clean:
  70. rm -f *.o bwbasic core
  71. mostlyclean: clean
  72. distclean: clean
  73. rm -f Makefile config.status
  74. realclean: distclean
  75. rm -f TAGS
  76. # Version number changed to 2.61 by PE
  77. dist: $(DISTFILES)
  78. echo bwbasic-3.00 > .fname
  79. rm -rf `cat .fname`
  80. mkdir `cat .fname`
  81. ln $(DISTFILES) `cat .fname`
  82. mkdir `cat .fname`/bwbtest
  83. cd bwbtest; ln $(TESTFILES) ../`cat ../.fname`/bwbtest
  84. tar czhf `cat .fname`.tar.gz `cat .fname`
  85. rm -rf `cat .fname` .fname
  86. # Prevent GNU make v3 from overflowing arg limit on SysV.
  87. .NOEXPORT:
  88. # EOF