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.

bwbasic.mak 1.4 KiB

3 years ago
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. PROJ =BWBASIC
  2. DEBUG =0
  3. CC =qcl
  4. CFLAGS_G = /AL /W3 /Za /DMSDOS
  5. CFLAGS_D = /Zd /Gi$(PROJ).mdt /Od
  6. CFLAGS_R = /O /Ot /Gs /DNDEBUG
  7. CFLAGS =$(CFLAGS_G) $(CFLAGS_R)
  8. LFLAGS_G = /CP:0xffff /NOI /NOE /SE:0x80 /ST:0x1fa0
  9. LFLAGS_D = /INCR
  10. LFLAGS_R =
  11. LFLAGS =$(LFLAGS_G) $(LFLAGS_R)
  12. RUNFLAGS =
  13. OBJS_EXT =
  14. LIBS_EXT =
  15. all: $(PROJ).exe
  16. bwbasic.obj: bwbasic.c
  17. bwb_cmd.obj: bwb_cmd.c
  18. bwb_cnd.obj: bwb_cnd.c
  19. bwb_dio.obj: bwb_dio.c
  20. bwb_elx.obj: bwb_elx.c
  21. bwb_exp.obj: bwb_exp.c
  22. bwb_fnc.obj: bwb_fnc.c
  23. bwb_inp.obj: bwb_inp.c
  24. bwb_int.obj: bwb_int.c
  25. bwb_mth.obj: bwb_mth.c
  26. bwb_ops.obj: bwb_ops.c
  27. bwb_par.obj: bwb_par.c
  28. bwb_prn.obj: bwb_prn.c
  29. bwb_stc.obj: bwb_stc.c
  30. bwb_str.obj: bwb_str.c
  31. bwb_tbl.obj: bwb_tbl.c
  32. bwb_var.obj: bwb_var.c
  33. bwx_tty.obj: bwx_tty.c
  34. $(PROJ).exe: bwbasic.obj bwb_cmd.obj bwb_cnd.obj bwb_dio.obj bwb_elx.obj bwb_exp.obj \
  35. bwb_fnc.obj bwb_inp.obj bwb_int.obj bwb_mth.obj bwb_ops.obj bwb_par.obj bwb_prn.obj \
  36. bwb_stc.obj bwb_str.obj bwb_tbl.obj bwb_var.obj bwx_tty.obj $(OBJS_EXT)
  37. echo >NUL @<<$(PROJ).crf
  38. bwbasic.obj +
  39. bwb_cmd.obj +
  40. bwb_cnd.obj +
  41. bwb_dio.obj +
  42. bwb_elx.obj +
  43. bwb_exp.obj +
  44. bwb_fnc.obj +
  45. bwb_inp.obj +
  46. bwb_int.obj +
  47. bwb_mth.obj +
  48. bwb_ops.obj +
  49. bwb_par.obj +
  50. bwb_prn.obj +
  51. bwb_stc.obj +
  52. bwb_str.obj +
  53. bwb_tbl.obj +
  54. bwb_var.obj +
  55. bwx_tty.obj +
  56. $(OBJS_EXT)
  57. $(PROJ).exe
  58. $(LIBS_EXT);
  59. <<
  60. link $(LFLAGS) @$(PROJ).crf
  61. run: $(PROJ).exe
  62. $(PROJ) $(RUNFLAGS)