Skip to content
Snippets Groups Projects
  1. Jun 22, 2021
    • James R.'s avatar
      Makefile: let variables be defined on Make line · c3ad5de9
      James R. authored
      If a variable is defined as in 'make CC=gcc-10', then that
      definition overrides anything other definition in the
      Makefile.
      c3ad5de9
    • James R.'s avatar
      Makefile: fail if old build directories exist · 5f4d7e3c
      James R. authored
      After a checkout from before revision, old directories
      such as bin/Linux64 only remain if untracked files exist
      within. This may be confusing to the user. They may even
      use an outdated executable if it is one of those untracked
      files.
      5f4d7e3c
  2. Jun 21, 2021
  3. Jun 16, 2021
  4. Jun 08, 2021
  5. Jun 06, 2021
  6. Jun 01, 2021
  7. May 20, 2021
  8. May 12, 2021
  9. May 09, 2021
  10. May 08, 2021
  11. May 07, 2021
  12. May 06, 2021
  13. May 05, 2021
  14. May 04, 2021
    • James R.'s avatar
      Fix make clean printing header · 888073d6
      James R. authored
      888073d6
    • James R.'s avatar
      Appveyor: update executable directory · 53d1cbe8
      James R. authored
      53d1cbe8
    • James R.'s avatar
      Rewrite Makefile to be modular as well as more automated · b31056c7
      James R. authored
      Some key points for programmers:
      - Source code files are mostly listed in a 'Sourcefile'.
        So you no longer directly edit the object list. There
        can be multiple Sourcefiles and they can even live in
        subdirectories--the directory name will be prepended to
        every filename in the list. Of course, the Makefile
        still needs to be edited to read from each Sourcefile.
      - Different rules are no longer required for source code
        files that live in subdirectories (such as sdl/ or
        hardware/). Subdirectories Just Work so go ham!
      
      In addition to those points, another important change is
      that the bin directory is no longer divided into platform
      subdirectories (Linux64, Mingw, etc). Executables now go
      directly into bin. If you use DEBUGMODE or target 64-bit,
      then subdirectories for 'debug' and '64' will be made
      though.
      
      Oh by the way, I don't think make clean actually removed
      files before on Windows. It should now. I also fixed as
      many little inconsistencies like that as I noticed.
      
      And now just an overview of the technical aspects that
      shouldn't affect anyone who doesn't REALLY care about the
      Makefile...
      
      objs and dep directories have been moved to a make
      directory. Makefile.cfg and its variants have been moved
      out of their various subdirectories to src/Makefile.d
      make distclean removes the bin and make directories
      entirely, but make clean and cleandep still only affect
      the current build target.
      
      When I say automation, I mean that a lot of copy pasting
      in the Makefile has been reduced.
      b31056c7
    • James R.'s avatar
      Remove bin, objs and dep directories · f637e28d
      James R. authored
      f637e28d
Loading