hello code friends. im using gnu make for windows, for reasons. does anyone know how, or if, i can use windows environment variables inside my makefiles

i figured it out. you do ${ENVVAR_NAME} with the curly brackets

Follow

anyway, the reason i asked that was because i wanna get back into doing code and stuff, so i figured i'd make some scripts for more easily starting new projects of various kinds from templates

the way i was doing snesdev code before was by including libsfx directly in the projects as a submodule and pointing the makefile to it that way. but i wanted to put it in a single location and use an env variable to point to it instead, so my setup script didn't have to copy a whole libsfx install around

"kasran just do your software development on linux" yeah i'll get around to it someday

Sign in to participate in the conversation
Awoo Space

Awoo.space is a Mastodon instance where members can rely on a team of moderators to help resolve conflict, and limits federation with other instances using a specific access list to minimize abuse.

While mature content is allowed here, we strongly believe in being able to choose to engage with content on your own terms, so please make sure to put mature and potentially sensitive content behind the CW feature with enough description that people know what it's about.

Before signing up, please read our community guidelines. While it's a very broad swath of topics it covers, please do your best! We believe that as long as you're putting forth genuine effort to limit harm you might cause – even if you haven't read the document – you'll be okay!