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.
 
 
 
 
 
 

49 lines
1.0 KiB

  1. #
  2. # Makefile for bwbasic on Linux 4-30-2020
  3. # Now version bwbasic-3.20b
  4. #
  5. # Tested on Ubuntu 18.04 Had to fix compatabily issues
  6. # Ubuntu 20.04 Had to fix compatabily issues
  7. # Debian 10 Buster
  8. # Beaglebone Black with Debian 10
  9. # Raspberry Pi running Debian 10 Buster
  10. # Linux Mint LMDE4
  11. # Linux Lite 4.8
  12. #
  13. # ken.at.github@gmail.com
  14. #
  15. CC=gcc
  16. # If running on a Beaglebone you might want to replace
  17. # CFLAGS=-s -ansi with CFLAGS=-Os -ansi
  18. # to have a smaller runtime size
  19. CFLAGS=-s -ansi
  20. LIB=-lm
  21. DEST=/usr/local/bin
  22. bwbasic:
  23. $(CC) $(CFLAGS) -o bwbasic bw*.c $(LIB)
  24. $(CC) $(CFLAGS) -o renum renum.c $(LIB)
  25. ls -l bwbasic renum
  26. # bwbasic and renum runtime. editfl temp file created by renum
  27. clean:
  28. rm -f *.o bwbasic renum editfl
  29. install:
  30. ls -l bwbasic renum
  31. cp bwbasic renum $(DEST)/.
  32. ls -l $(DEST)/bwbasic $(DEST)/renum
  33. remove:
  34. rm $(DEST)/bwbasic $(DEST)/renum
  35. uninstall:
  36. rm $(DEST)/bwbasic $(DEST)/renum
  37. run:
  38. $(DEST)/bwbasic
  39. runlocal:
  40. ./bwbasic