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.
 
 
 
 
 
 

97 lines
2.5 KiB

  1. # Open Watcom C (http://www.openwatcom.org) Makefile
  2. # for Bywater BASIC Interpreter
  3. #
  4. # Adapted from makefile.qcl
  5. # by Bill Chatfield <bill_chatfield@yahoo.com>
  6. #
  7. # 2015-04-25 Updated for version 3.00 by Howard Wulf, AF5NE
  8. #
  9. # To make the program type: wmake -f makefile.wcl386
  10. #
  11. # The WATCOM environment variable should have been set
  12. # to the top directory of the Open Watcom C installation.
  13. # It is used below, so it needs to be set.
  14. #
  15. # Watcom looks a the INCLUDE variable to find its include
  16. # files.
  17. #
  18. .BEFORE
  19. set INCLUDE=$(%WATCOM)\h;$(%WATCOM)\h\nt
  20. PROJ= bwbasic
  21. CC= wcl386
  22. LINK= wlink
  23. #
  24. # Open Watcom options
  25. # -bc Build a console application
  26. # -c Compile only; no link
  27. # -d2 Generate code for the debugger
  28. # -ox Optimize at maximum level
  29. # -q Quiet operation
  30. # -wx Display warnings at maximum level
  31. # -za ANSI C syntax only; no language extensions
  32. #
  33. CFLAGS= -bc -c -ox -q -wx -za -DHAVE_MSDOS -D__WATCOM__
  34. LFLAGS= OPTION QUIET
  35. OFILES= bwbasic.obj bwb_cmd.obj bwb_cnd.obj bwb_dio.obj &
  36. bwb_exp.obj bwb_fnc.obj bwb_inp.obj bwb_int.obj &
  37. bwb_prn.obj bwb_stc.obj bwb_str.obj bwb_tbl.obj &
  38. bwb_var.obj bwd_cmd.obj bwd_fun.obj bwx_tty.obj
  39. HFILES= bwbasic.h
  40. ZFILES= bwbasic.exe bwbasic.doc INSTALL COPYING README
  41. all: $(PROJ).exe
  42. $(PROJ).exe: $(OFILES)
  43. $(LINK) $(LFLAGS) FILE $(OFILES: =,) NAME $@
  44. clean: .SYMBOLIC
  45. del $(OFILES) *.err $(PROJ).exe
  46. dist: .SYMBOLIC
  47. zip bwbasic-3.00-win32.zip $(ZFILES)
  48. .c.obj: .AUTODEPEND
  49. $(CC) $(CFLAGS) $[@
  50. bwbasic.obj: bwbasic.c $(HFILES) $(__MAKEFILES__)
  51. bwb_cmd.obj: bwb_cmd.c $(HFILES) $(__MAKEFILES__)
  52. bwb_cnd.obj: bwb_cnd.c $(HFILES) $(__MAKEFILES__)
  53. bwb_dio.obj: bwb_dio.c $(HFILES) $(__MAKEFILES__)
  54. bwb_exp.obj: bwb_exp.c $(HFILES) $(__MAKEFILES__)
  55. bwb_fnc.obj: bwb_fnc.c $(HFILES) $(__MAKEFILES__)
  56. bwb_inp.obj: bwb_inp.c $(HFILES) $(__MAKEFILES__)
  57. bwb_int.obj: bwb_int.c $(HFILES) $(__MAKEFILES__)
  58. bwb_prn.obj: bwb_prn.c $(HFILES) $(__MAKEFILES__)
  59. bwb_stc.obj: bwb_stc.c $(HFILES) $(__MAKEFILES__)
  60. bwb_str.obj: bwb_str.c $(HFILES) $(__MAKEFILES__)
  61. bwb_tbl.obj: bwb_tbl.c $(HFILES) $(__MAKEFILES__)
  62. bwb_var.obj: bwb_var.c $(HFILES) $(__MAKEFILES__)
  63. bwd_cmd.obj: bwd_cmd.c $(HFILES) $(__MAKEFILES__)
  64. bwd_fun.obj: bwd_fun.c $(HFILES) $(__MAKEFILES__)
  65. bwx_tty.obj: bwx_tty.c $(HFILES) $(__MAKEFILES__)
  66. # EOF