suppertails66 / mgltools

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

Makefile: turn blackt dep into a file dep #9

Closed mistydemeo closed 4 years ago

mistydemeo commented 4 years ago

This ensures that Make becomes aware of when it does or doesn't need to rebuild this dependency. Previously, running make or make all would cause it to rebuild every one of the CLI tools every time because it couldn't tell that the blackt dep was up to date.

This also swaps the makefiles to use make -C instead of shelling out to cd, since that's safe on directories which contain spaces. It's basically the same change as 5be893d62a738ffe2b5fc978a797a388db2f88cc.

mistydemeo commented 4 years ago

Thanks!

suppertails66 commented 4 years ago

Oops, sorry for rolling over your old fix -- I copied over the makefile from another project that never got changed to use -C and never realized it.