aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index fdb039a..12cc181 100644
--- a/Makefile
+++ b/Makefile
@@ -26,6 +26,10 @@ LDLIBS += $(SDL2_LIBS) -lSDL2_image
include erlang.mk
+ifeq ($(PLATFORM),msys2)
+ CFLAGS += -I"$(C_SRC_DIR)/compat/"
+endif
+
bullet_engine:: all
erlc -o examples/bullet_engine examples/bullet_engine/*.erl
cd examples/bullet_engine && ./start.sh