phoboslab / high_biolab

Jump'n'run written in C using high_impact
64 stars 6 forks source link

Feedback on building #3

Closed fuhsnn closed 2 months ago

fuhsnn commented 2 months ago

Just built the game with the homegrown C compiler I maintain; almost flawless experience! except:

Thank you for the work!

phoboslab commented 2 months ago

That's really cool! I will fix the instructions for zypper, thanks for reporting.

Regarding C_FLAGS: I don't want to include those directly into the build command for qoiconv/qoaconv, as (depending on the platform) C_FLAGS also specifies libraries that are only needed for the game itself. I guess we could just put USER_CFLAGS in there, though!?

Not sure what the “best practice” is, when you have multiple independent binaries in one Makefile.

fuhsnn commented 2 months ago

Yes, USER_CFLAGS would do!

Not sure what the “best practice” is

I don't know either... For defines, just prefixing subproject's options like stb does with STB* should go a long way, not really a big deal for simple projects.