mirror of
https://github.com/thepigeongenerator/mcaselector-lite.git
synced 2025-12-17 09:25:44 +01:00
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:
3
Makefile
3
Makefile
@@ -5,6 +5,7 @@
|
|||||||
NAME = mcaselector-lite
|
NAME = mcaselector-lite
|
||||||
DEBUG ?= 0
|
DEBUG ?= 0
|
||||||
CC ?= cc
|
CC ?= cc
|
||||||
|
CMAKE ?= cmake -G 'Unix Makefiles'
|
||||||
|
|
||||||
# setting default compilation flags
|
# setting default compilation flags
|
||||||
# some of which are able to be overwritten, others are always appended
|
# some of which are able to be overwritten, others are always appended
|
||||||
@@ -61,7 +62,7 @@ endif
|
|||||||
|
|
||||||
# compiles the libraries using cmake
|
# compiles the libraries using cmake
|
||||||
lib/obj/%/: lib/%/
|
lib/obj/%/: lib/%/
|
||||||
cmake -S $< -B $@
|
$(CMAKE) -S $< -B $@
|
||||||
$(MAKE) -C $@
|
$(MAKE) -C $@
|
||||||
|
|
||||||
# link together a runtime binary
|
# link together a runtime binary
|
||||||
|
|||||||
Reference in New Issue
Block a user