- auto set some compile-time variables (includes, libraries, etc.) and will compile and link 32/64 versions based on host system environment (at last works under MSYS2)
- outputs objects to "_obj" and binaries to "_bin" avoiding some clutter in main repository tree.
- show less verbose and more cleaner compile progress status like this:
- Code: Select all
Compiling Src/OSD/SDL/SDLInputSystem.cpp...
Compiling Src/OSD/Windows/DirectInputSystem.cpp...
Compiling Src/OSD/Outputs.cpp...
Compiling Src/OSD/Windows/WinOutputs.cpp...
Compiling Src/OSD/Logger.cpp...
Compiling Src/Pkgs/tinyxml2.cpp...
Compiling Src/Debugger/Debugger.cpp...
Compiling Src/Debugger/ConsoleDebugger.cpp...
...
Compiling Src/Debugger/CPU/Musashi68KDebug.cpp...
Compiling Src/Debugger/CPU/Z80Debug.cpp...
Linking _bin/supermodel.exe...
- be multithread-friendly so that issuing "make -jx" with x > 1 now works as expected (and is a lot faster too!).
compile options:
VERBOSE = [0|1] with '1' reverts to old verbose progress status
ENABLE_DEBUGGER = [0|1] with '1' include console-based debugger in emulator (like the original makefile)
Testing, as always, is welcome and appreciated. Let me know!