Skip to content

Commit 49f211f

Browse files
committed
emsc: build only sdl ogles
1 parent 22530f9 commit 49f211f

1 file changed

Lines changed: 9 additions & 5 deletions

File tree

src/makefile

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -130,12 +130,16 @@ $(.RECIPEPREFIX)$(a)$(this_cc) -ObjC++ -c -o "$$$$@" $$(this_cxxflags) $$(OBJCXX
130130
endef
131131

132132
ifeq ($(os), linux)
133-
$(eval $(call ruisapp_rules,opengl,xorg))
134-
$(eval $(call ruisapp_rules,opengles,xorg))
135-
# $(eval $(call ruisapp_rules,opengl,wayland))
136-
$(eval $(call ruisapp_rules,opengles,wayland))
137-
$(eval $(call ruisapp_rules,opengl,sdl))
133+
ifneq ($(config), emsc)
134+
$(eval $(call ruisapp_rules,opengl,xorg))
135+
$(eval $(call ruisapp_rules,opengles,xorg))
136+
# $(eval $(call ruisapp_rules,opengl,wayland))
137+
$(eval $(call ruisapp_rules,opengles,wayland))
138+
$(eval $(call ruisapp_rules,opengl,sdl))
139+
endif
140+
138141
$(eval $(call ruisapp_rules,opengles,sdl))
142+
139143
else
140144
$(eval $(call ruisapp_rules,opengl,))
141145
endif

0 commit comments

Comments
 (0)