Skip to content

Commit 6d843fe

Browse files
committed
Replace shell with assignment operator
1 parent 04968a0 commit 6d843fe

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

examples/Makefile

+3-2
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,8 @@ ifeq ($(TARGET_PLATFORM),PLATFORM_ANDROID)
197197
MAKE = mingw32-make
198198
endif
199199
ifeq ($(TARGET_PLATFORM),PLATFORM_WEB)
200-
ifneq (, $(shell type emmake))
200+
EMMAKE != type emmake
201+
ifneq (, $(EMMAKE))
201202
MAKE = emmake make
202203
else
203204
MAKE = mingw32-make
@@ -455,7 +456,7 @@ ifeq ($(TARGET_PLATFORM),PLATFORM_DESKTOP_RGFW)
455456
ifeq ($(PLATFORM_OS),OSX)
456457
# Libraries for Debian GNU/Linux desktop compiling
457458
# NOTE: Required packages: libegl1-mesa-dev
458-
LDLIBS = ../src/libraylib.a -lm
459+
LDLIBS = ../src/libraylib.a -lm
459460
LDLIBS += -framework Foundation -framework AppKit -framework OpenGL -framework CoreVideo
460461
endif
461462
endif

0 commit comments

Comments
 (0)