Skip to content

Commit

Permalink
update build system
Browse files Browse the repository at this point in the history
  • Loading branch information
ColleagueRiley committed May 11, 2024
1 parent e71ea28 commit 6cbb01a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ all:
$(AR) rcs libRSGL.a *.o
make examples

shared:
static:
make RSGL.o
$(CC) $(CUSTOM_CFLAGS) RSGL.o -shared -O3 $(LIBS) -lm -o libRSGL.$(EXT)

$(AR) rcs libRSGL.a *.o
RSGL.o:
$(CC) $(CUSTOM_CFLAGS) -x c -c -Wall RSGL.h -fPIC -DRSGL_IMPLEMENTATION -DRGFW_NO_JOYSTICK_CODES

Expand Down

0 comments on commit 6cbb01a

Please sign in to comment.