Description
Hi,
One of the best usage of GNUMake is when you use it with the syntax target: requirements and with target being the output file like so :
because Make will decide given the stat of the target if it needs build or not.
Since the Makefile of this project does not use this kind of feature, GNUMake seems like less of the perfect build tool for this project.
As a gamedev, one of my main machine is a Windows system, and it can be difficult to have a Makefile that is completely OS agnostic. Even GOOS=$(...) go generate... doesn't work on Windows, so if you want Windows support (outside WSL, natively for Windows), you'll need to enclose everything around ifeq ($(OS),Windows_NT).
What I'm suggesting here is to remove the need for GNUMake by a completly rewriting its rules into a tools\make.go which will simply use go code to perform the tasks.
I'm currently working on this on my own fork, but I can send a PR if you thing it's worth it inside the upstream 😄
Let me know !
(PS: Sorry to have open an Issue for this, but I find it more polite to ask first before submitting the PR).
Description
Hi,
One of the best usage of GNUMake is when you use it with the syntax
target: requirementsand withtargetbeing the output file like so :because Make will decide given the stat of the target if it needs build or not.
Since the Makefile of this project does not use this kind of feature, GNUMake seems like less of the perfect build tool for this project.
As a gamedev, one of my main machine is a Windows system, and it can be difficult to have a Makefile that is completely OS agnostic. Even
GOOS=$(...) go generate...doesn't work on Windows, so if you want Windows support (outside WSL, natively for Windows), you'll need to enclose everything aroundifeq ($(OS),Windows_NT).What I'm suggesting here is to remove the need for GNUMake by a completly rewriting its rules into a
tools\make.gowhich will simply use go code to perform the tasks.I'm currently working on this on my own fork, but I can send a PR if you thing it's worth it inside the upstream 😄
Let me know !
(PS: Sorry to have open an Issue for this, but I find it more polite to ask first before submitting the PR).