~evantj/hare-raylib

875b47b16d5b156d208033aba2c5d66bcd13b129 — Evan Johnston 1 year, 10 months ago a714ecf
move heightmap to cmd/heightmap
4 files changed, 7 insertions(+), 7 deletions(-)

M .gitignore
M Makefile
M README.md
R examples/heightmap/main.ha => cmd/heightmap/main.ha
M .gitignore => .gitignore +2 -2
@@ 1,2 1,2 @@
demo
heightmap
/demo
/heightmap

M Makefile => Makefile +3 -3
@@ 15,10 15,10 @@ api.json:
demo:
	hare build $(LIBS) cmd/demo
heightmap:
	hare build $(LIBS) examples/heightmap
	hare build $(LIBS) cmd/heightmap
run:
	hare run $(LIBS) cmd/demo
clean:
	rm -f raylib/raylib.ha api.json demo
	rm -f raylib/raylib.ha api.json demo heightmap

.PHONY: clean demo run
.PHONY: clean demo run heightmap

M README.md => README.md +1 -2
@@ 5,8 5,7 @@ build demo: `make demo`

build heightmap example: `make heightmap`

generate raylib.ha: `make`

generate raylib.ha: `make`  
note: if you want to generate api.json yourself, you need a copy of [raylib\_parser](https://github.com/raysan5/raylib/tree/master/parser)

# demo

R examples/heightmap/main.ha => cmd/heightmap/main.ha +1 -0
@@ 1,3 1,4 @@
// port of https://github.com/raysan5/raylib/blob/master/examples/models/models_heightmap.c
use raylib;

export fn main() void = {