From b5dce07a64770fc223a9ffcaf09bbc817c601b09 Mon Sep 17 00:00:00 2001 From: Colleague Riley Date: Tue, 29 Aug 2023 00:03:32 -0400 Subject: [PATCH] fixed macos compile error --- example/Makefile | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/example/Makefile b/example/Makefile index 4a540f8..c30ba41 100644 --- a/example/Makefile +++ b/example/Makefile @@ -30,18 +30,22 @@ ext/Silicon/mac.o: cd ext/Silicon/ && gcc -c *.m gl: - gcc main.c $(LIBS) -I./ext -I../ $(LIBS) -D RFONT_RENDER_LEGACY -o gl + gcc main.c $(LIBS) -I./ext -I../ -D RFONT_RENDER_LEGACY -Wall -o gl rlgl: - gcc main.c $(LIBS) -I./ext -I../ $(LIBS) -D RFONT_RENDER_RLGL -o rlgl + gcc main.c $(LIBS) -I./ext -I../ -D RFONT_RENDER_RLGL -Wall -o rlgl gl3: - gcc main.c $(LIBS) -I./ext -I../ $(LIBS) -o gl3 + gcc main.c $(LIBS) -I./ext -I../ -Wall -o gl3 clean: rm gl3 gl rlgl -f debug: make clean - make - ./gl gl & - ./gl3 gl3 & - ./rlgl rlgl \ No newline at end of file + + #gcc main.c $(LIBS) -I./ext -I../ -D RFONT_RENDER_LEGACY -Wall -o gl -D RFONT_DEBUG + #gcc main.c $(LIBS) -I./ext -I../ -D RFONT_RENDER_RLGL -Wall -o rlgl -D RFONT_DEBUG + gcc main.c $(LIBS) -I./ext -I../ -Wall -o gl3 -D RFONT_DEBUG + + #./gl gl & + ./gl3 gl3 + #./rlgl rlgl & \ No newline at end of file