Browse Source

Fix efsw build on Linux and Mac.

tags/v1.1.1
Andrew Belt 5 years ago
parent
commit
1e3b26d4ad
2 changed files with 7 additions and 2 deletions
  1. +1
    -1
      Makefile
  2. +6
    -1
      README.md

+ 1
- 1
Makefile View File

@@ -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/



+ 6
- 1
README.md View File

@@ -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`.


Loading…
Cancel
Save