Skip to content

Commit

Permalink
full compile on make
Browse files Browse the repository at this point in the history
  • Loading branch information
ColleagueRiley committed Aug 31, 2024
1 parent 11c614c commit 8ecfd08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ endif

LIBS += -I./include -I./include/RSGL $(LIBS)

all: source/main.c libs.o
all: source/main.c source/libs.c
$(CC) $^ $(LINK_GL1) $(LIBS) -o RSGLDoom$(EXT)

libs.o: source/libs.c
Expand All @@ -86,7 +86,7 @@ clean:
rm -f *.exe RSGLdoom *.o

debug: source/main.c libs.o
$(CC) source/main.c $(LINK_GL1) $(LIBS) -D RGFW_DEBUG -o RSGLdoom$(EXT)
$(CC) $^ $(LINK_GL1) $(LIBS) -D RGFW_DEBUG -o RSGLdoom$(EXT)
ifeq (,$(filter $(CC),emcc))
.$(OS_DIR)RSGLdoom$(EXT)
endif

0 comments on commit 8ecfd08

Please sign in to comment.