Instead of using cmake, I *obviously* need to use cmake -G 'Unix Makefiles'. How silly of me.

MicroSoft Windows: "it just works"
This commit is contained in:
2025-09-15 12:25:53 +02:00
parent 6c184a4d36
commit 15b5430611

View File

@@ -5,6 +5,7 @@
NAME = mcaselector-lite
DEBUG ?= 0
CC ?= cc
CMAKE ?= cmake -G 'Unix Makefiles'
# setting default compilation flags
# some of which are able to be overwritten, others are always appended
@@ -61,7 +62,7 @@ endif
# compiles the libraries using cmake
lib/obj/%/: lib/%/
cmake -S $< -B $@
$(CMAKE) -S $< -B $@
$(MAKE) -C $@
# link together a runtime binary