lairworks / nas2d-core

NAS2D is an open source, object oriented 2D game development framework written in portable C++.
http://nas2d.lairworks.com
zlib License
10 stars 5 forks source link

Refactor `makefile` - Output object files for test-graphics project #1133

Closed DanRStevens closed 1 year ago

DanRStevens commented 1 year ago

Partial work for:

Previously the test-graphics project was compiled using all source files together, and directly outputting an executable file. This was different from how other projects were compiled, and didn't really scale well with project size. It was doable for a small project with only two source files, but there was a noticeable (sub-second) delay when rebuilding, even when using ccache to cache object files (which there were none), and no changes were made.