diff --git a/examples/Makefile b/examples/Makefile index 74409155..be8d8720 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -651,7 +651,7 @@ ifeq ($(TARGET_PLATFORM),PLATFORM_ANDROID) else ifeq ($(TARGET_PLATFORM),PLATFORM_WEB) $(MAKE) -f Makefile.Web $@ else - $(CC) -o $@$(EXT) $< $(CFLAGS) $(INCLUDE_PATHS) $(LDFLAGS) $(LDLIBS) -D$(TARGET_PLATFORM) + $(CC) -o $@$(EXT) $< $(CFLAGS) $(INCLUDE_PATHS) $(LDFLAGS) $(LDLIBS) -D$(PLATFORM) -D$(TARGET_PLATFORM) endif # Clean everything