Skip to content

[build] [web] [examples] != not supported on default macos make #5460

@pentallelogram

Description

@pentallelogram

!= makefile sytax is not supported until GNU Make 4.0. OSX ships GNU Make 3.81. This breaks web builds of the examples outside of windows platforms

ifeq ($(TARGET_PLATFORM),$(filter $(TARGET_PLATFORM),PLATFORM_WEB PLATFORM_WEB_RGFW))
    ifeq ($(OS),Windows_NT)
        MAKE = mingw32-make
    else
        EMMAKE != type emmake # <----
        ifneq (, $(EMMAKE))
            MAKE = emmake make
        else
            MAKE = mingw32-make
        endif
    endif
endif

I fixed by replacing the offending line with EMMAKE := $(shell type emmake)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions