From 1e3b26d4adb85c31e76760ab99c3c34bf1c2c3b7 Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Fri, 27 Sep 2019 08:23:05 -0400 Subject: [PATCH] Fix efsw build on Linux and Mac. --- Makefile | 2 +- README.md | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index fc8844a..8313687 100644 --- a/Makefile +++ b/Makefile @@ -22,7 +22,7 @@ $(efsw): cd dep && $(SHA256) e6afbec564e2.zip 8589dbedac7434f1863637af696354a9f1fcc28c6397c37b492a797ae62976be cd dep && $(UNZIP) e6afbec564e2.zip cd dep/SpartanJ-efsw-e6afbec564e2 && premake4 gmake - cd dep/SpartanJ-efsw-e6afbec564e2 && $(MAKE) -C make/windows config=release efsw-static-lib + cd dep/SpartanJ-efsw-e6afbec564e2 && $(MAKE) -C make/* config=release efsw-static-lib cd dep/SpartanJ-efsw-e6afbec564e2 && cp lib/libefsw-static-release.a $(DEP_PATH)/lib/ cd dep/SpartanJ-efsw-e6afbec564e2 && cp -R include/efsw $(DEP_PATH)/include/ diff --git a/README.md b/README.md index 3171234..29bde30 100644 --- a/README.md +++ b/README.md @@ -92,10 +92,15 @@ function process(block) { ## Build dependencies ### Windows -``` +```bash pacman -S mingw-w64-x86_64-premake ``` +### Mac +```bash +brew install premake +``` + ## Adding a script engine - Add your scripting language library to the build system so it builds with `make dep`, following the Duktape example in the `Makefile`.