diff --git a/Makefile b/Makefile index c8c118e..9d63488 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,7 @@ else ifneq ($(findstring MINGW,$(shell uname -s)),) # win LDFLAGS += -L./lib -lglfw3dll -lOpenal32.dll -mwindows OS ?= Windows else ifneq ($(findstring Darwin,$(shell uname -s)),) # osx - LDFLAGS := -Ldeps/osx/lib -lglfw3 -framework Cocoa -framework OpenGL -framework IOKit + LDFLAGS := -Ldeps/osx_$(shell uname -m)/lib -lglfw3 -framework Cocoa -framework OpenGL -framework IOKit LDFLAGS += -framework OpenAL OS ?= OSX else diff --git a/deps/osx/lib/libglfw3.a b/deps/osx_amd64/lib/libglfw3.a similarity index 100% rename from deps/osx/lib/libglfw3.a rename to deps/osx_amd64/lib/libglfw3.a diff --git a/deps/osx_arm64/lib/libglfw3.a b/deps/osx_arm64/lib/libglfw3.a new file mode 100644 index 0000000..50c50ae Binary files /dev/null and b/deps/osx_arm64/lib/libglfw3.a differ