jsgoller1 / sprawl

2D Game Engine
GNU General Public License v3.0
0 stars 0 forks source link

Feature: Make system overhaul #9

Closed jsgoller1 closed 1 year ago

jsgoller1 commented 1 year ago

In #8, we elaborate some details about the costly high build times at present. This PR solves the problem by re-writing the Makefile with some help from StackOverflow so that: 1) Each individual file produces a build artifact 2) Artifacts are only recompiled when their dependencies change 3) Dependencies are automatically generated via some Makefile/Clang tricks.

This PR also does some other stuff to make the above more manageable: