Skip to content

Commit

Permalink
update makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
ColleagueRiley committed Jan 12, 2025
1 parent 09ba0ab commit af0fe34
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 @@ -119,7 +119,7 @@ examples: $(EXAMPLE_OUTPUTS) $(EXAMPLE_OUTPUTS_CUSTOM)

examples/portableGL/pgl: examples/portableGL/pgl.c RGFW.h
ifneq ($(CC), emcc)
$(CC) -w $(CFLAGS) -lm -I. $< $(LIBS) -o $@
$(CC) -w $(CFLAGS) -I. $< -lm $(LIBS) -o $@
else
@echo "the portableGL example doesn't support html5"
endif
Expand Down Expand Up @@ -224,7 +224,7 @@ examples/first-person-camera/camera: examples/first-person-camera/camera.c RGFW.

examples/gl33/gl33: examples/gl33/gl33.c RGFW.h
ifeq ($(RGFW_WAYLAND), 1)
$(CC) $(CFLAGS) $(LIBS) -I. $< -o $@$(EXT)
$(CC) $(CFLAGS) -I. $< $(LIBS) -o $@$(EXT)
else ifeq ($(detected_OS),Linux)
$(CC) $(CFLAGS) -I. $< -o $@$(EXT)
else ifeq ($(detected_OS),windows)
Expand Down

0 comments on commit af0fe34

Please sign in to comment.