Skip to content
  • 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 inconsistenci...
    b31056c7