summary refs log tree commit diff stats
path: root/Makefile
diff options
context:
space:
mode:
authorCharadon <dev@iotib.net>2022-05-31 02:10:48 -0400
committerCharadon <dev@iotib.net>2022-05-31 02:10:48 -0400
commite1c6396e259a164f57dec9ca6569cb29010a12fc (patch)
tree0827e1d07daa2761033587eb69ae643961741f8c /Makefile
parentcb42de03854921addb450e6a67cbe44dc9449ec0 (diff)
downloadPong-C-e1c6396e259a164f57dec9ca6569cb29010a12fc.tar.gz
Fixed issue where window segfaulted when resized.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8f8e59f..7a06e58 100644
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@ LDFLAGS = -lGL -lm -lpthread -ldl -lrt -lX11
 all: build_deps build pong
 
 build_deps:
-	cd raylib/src && $(MAKE) PLATFORM=PLATFORM_DESKTOP
+	cd raylib/src && $(MAKE) PLATFORM=PLATFORM_DESKTOP RAYLIB_BUILD_MODE=RELEASE USE_EXTERNAL_GLFW=FALSE
 
 build: src/main.c src/enemy.c src/ball.c src/title.c
 	$(CC) $(CFLAGS) $(PKG_CONF_CFLAGS) -c $?