Makefile 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. #
  2. # Makefile for compatibility purposes, which use rbmk (Retroboot Make)
  3. # You can use this, but it's recommended to run build system commands directly
  4. #
  5. # See docs/maintain/ and docs/git/ for information about the build system
  6. #
  7. # Copyright (C) 2020 Leah Rowe <info@minifree.org>
  8. #
  9. # This program is free software: you can redistribute it and/or modify
  10. # it under the terms of the GNU General Public License as published by
  11. # the Free Software Foundation, either version 3 of the License, or
  12. # (at your option) any later version.
  13. #
  14. # This program is distributed in the hope that it will be useful,
  15. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  16. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  17. # GNU General Public License for more details.
  18. #
  19. # You should have received a copy of the GNU General Public License
  20. # along with this program. If not, see <http://www.gnu.org/licenses/>.
  21. #
  22. .PHONY: all download modules ich9m-descriptors payloads roms release clean \
  23. crossgcc-clean install-dependencies-ubuntu docs-clean nuke
  24. all: roms
  25. download:
  26. ./download all
  27. modules:
  28. ./build module all
  29. ich9m-descriptors:
  30. ./build descriptors ich9m
  31. payloads:
  32. ./build payload all
  33. roms:
  34. ./build retroboot roms
  35. release:
  36. ./build release src
  37. ./build release roms
  38. clean:
  39. ./build clean cbutils
  40. ./build clean flashrom
  41. ./build clean ich9utils
  42. ./build clean payloads
  43. ./build clean seabios
  44. ./build clean grub
  45. ./build clean memtest86plus
  46. ./build clean rom_images
  47. ./build clean tianocore
  48. crossgcc-clean:
  49. ./build clean crossgcc
  50. install-dependencies-ubuntu:
  51. ./build dependencies ubuntu2004
  52. docs:
  53. cd www && make
  54. docs-clean:
  55. cd www && make clean
  56. nuke:
  57. rm -Rf bin crossgcc memtest86plus release seabios descriptors flashrom \
  58. payload grub me_cleaner
  59. ./build clean ich9utils