Skip to content

Commit

Permalink
fixed macos compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
ColleagueRiley committed Aug 29, 2023
1 parent 3655c38 commit b5dce07
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions example/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

#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 &

0 comments on commit b5dce07

Please sign in to comment.