From c85e23ae9396807a2ccc9254e8bfa83a3612e492 Mon Sep 17 00:00:00 2001 From: Brendan Hansen Date: Fri, 19 Nov 2021 12:52:31 -0600 Subject: [PATCH] added common include on linux --- Makefile | 6 +++--- docs/todo.md | 8 +++++++- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 25d8e61..4208375 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ CC=gcc WARNINGS=-Wimplicit -Wmisleading-indentation -Wparentheses -Wsequence-point -Wreturn-type -Wshift-negative-value -Wunused-but-set-parameter -Wunused-but-set-variable -Wunused-function -Wunused-label -Wmaybe-uninitialized -Wsign-compare -Wstrict-overflow -Wduplicated-branches -Wduplicated-cond -Wtrigraphs -Waddress -Wlogical-op FLAGS=$(WARNINGS) -g3 -O2 -INCLUDES=-I./include -I./lib/linux_x86_64/include +INCLUDES=-I./include -I./lib/linux_x86_64/include -I./lib/common/include LIBS=-L./lib/linux_x86_64/lib -lwasmer -Wl,-rpath=./lib/linux_x86_64/lib -lglfw -lGL -lm TARGET=./bin/heartbreak @@ -20,6 +20,6 @@ clean: $(TARGET): $(OBJECT_FILES) $(CC) $(FLAGS) -o $@ $^ $(LIBS) -all: $(TARGET) tests/simp.wasm +all: $(TARGET) tests/minesweeper.wasm run: all - ./bin/heartbreak tests/simp.wasm + ./bin/heartbreak tests/minesweeper.wasm diff --git a/docs/todo.md b/docs/todo.md index 511ea5e..65928c2 100644 --- a/docs/todo.md +++ b/docs/todo.md @@ -43,5 +43,11 @@ In the meantime, it would be possible (and rather easy) to look for special expo like __heartbreak_keydown which would then get registered as event handlers. In Onyx, this won't create too much of a mess because in qhb.onyx there can simply be a #if #defined(keydown) to test if a keydown handler was defined, then it would export that function as __heartbreak_keydown for -example. This will won't in the meantime while Wasmer gets their shit together and actually provides +example. This will work in the meantime while Wasmer gets their shit together and actually provides the API that they claim to. + + +More graphics: +[ ] Canvases (renderable surfaces) +[ ] Meshes +[ ] Shaders -- 2.25.1