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.
 
 
 
 
 
 

122 lines
3.1 KiB

  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 -DHAVE_UNIX
  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\
  25. bwb_exp.c bwb_fnc.c bwb_inp.c bwb_int.c\
  26. bwb_prn.c bwb_stc.c bwb_str.c bwb_tbl.c\
  27. bwb_var.c bwd_cmd.c bwd_fun.c bwx_tty.c
  28. OFILES= bwbasic.o bwb_cmd.o bwb_cnd.o bwb_dio.o\
  29. bwb_exp.o bwb_fnc.o bwb_inp.o bwb_int.o\
  30. bwb_prn.o bwb_stc.o bwb_str.o bwb_tbl.o\
  31. bwb_var.o 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