suppertails66 / mgltools

Miscellaneous tools for Mahou Gakuen Lunar!
Other
1 stars 1 forks source link

Split shared code to libsat and simplify makefile #8

Closed suppertails66 closed 4 years ago

suppertails66 commented 4 years ago

This branch moves common code and headers previously located in the "src" directory into a new library, libsat, which is built separately from the actual tools. By removing these files from the "src" directory, we can simplify the makefile to no longer require every program that is built to be explicitly listed: every .cpp file found in the "src" directory corresponds to a single executable file to be created.

The shared code in libsat is in the namespace "Sat", which is a small improvement over the previously naked exposure of various common names like "fsize".