diff --git a/examples/gpu/Makefile b/examples/gpu/Makefile index f0728dc..bdda1a3 100644 --- a/examples/gpu/Makefile +++ b/examples/gpu/Makefile @@ -113,6 +113,10 @@ else export APP_ICON := $(TOPDIR)/$(ICON) endif +ifeq ($(strip $(NO_SMDH)),) + export _3DSXFLAGS += --smdh=$(CURDIR)/$(TARGET).smdh +endif + .PHONY: $(BUILD) clean all #--------------------------------------------------------------------------------- diff --git a/examples/graphics/bitmap/24bit-color/Makefile b/examples/graphics/bitmap/24bit-color/Makefile index acbfaf4..d91ef1b 100755 --- a/examples/graphics/bitmap/24bit-color/Makefile +++ b/examples/graphics/bitmap/24bit-color/Makefile @@ -118,6 +118,9 @@ endif IMAGEMAGICK := $(shell which convert) +ifeq ($(strip $(NO_SMDH)),) + export _3DSXFLAGS += --smdh=$(CURDIR)/$(TARGET).smdh +endif .PHONY: $(BUILD) clean all diff --git a/examples/graphics/printing/hello-world/Makefile b/examples/graphics/printing/hello-world/Makefile index 8dce08d..542abb4 100755 --- a/examples/graphics/printing/hello-world/Makefile +++ b/examples/graphics/printing/hello-world/Makefile @@ -113,6 +113,10 @@ else export APP_ICON := $(TOPDIR)/$(ICON) endif +ifeq ($(strip $(NO_SMDH)),) + export _3DSXFLAGS += --smdh=$(CURDIR)/$(TARGET).smdh +endif + .PHONY: $(BUILD) clean all #--------------------------------------------------------------------------------- diff --git a/examples/http/Makefile b/examples/http/Makefile index 8dce08d..542abb4 100644 --- a/examples/http/Makefile +++ b/examples/http/Makefile @@ -113,6 +113,10 @@ else export APP_ICON := $(TOPDIR)/$(ICON) endif +ifeq ($(strip $(NO_SMDH)),) + export _3DSXFLAGS += --smdh=$(CURDIR)/$(TARGET).smdh +endif + .PHONY: $(BUILD) clean all #--------------------------------------------------------------------------------- diff --git a/examples/input/read-controls/Makefile b/examples/input/read-controls/Makefile index c21562a..b277846 100755 --- a/examples/input/read-controls/Makefile +++ b/examples/input/read-controls/Makefile @@ -113,6 +113,10 @@ else export APP_ICON := $(TOPDIR)/$(ICON) endif +ifeq ($(strip $(NO_SMDH)),) + export _3DSXFLAGS += --smdh=$(CURDIR)/$(TARGET).smdh +endif + .PHONY: $(BUILD) clean all #--------------------------------------------------------------------------------- diff --git a/examples/input/touch-screen/Makefile b/examples/input/touch-screen/Makefile index 8dce08d..542abb4 100755 --- a/examples/input/touch-screen/Makefile +++ b/examples/input/touch-screen/Makefile @@ -113,6 +113,10 @@ else export APP_ICON := $(TOPDIR)/$(ICON) endif +ifeq ($(strip $(NO_SMDH)),) + export _3DSXFLAGS += --smdh=$(CURDIR)/$(TARGET).smdh +endif + .PHONY: $(BUILD) clean all #--------------------------------------------------------------------------------- diff --git a/examples/libapplet_launch/Makefile b/examples/libapplet_launch/Makefile index 8dce08d..542abb4 100644 --- a/examples/libapplet_launch/Makefile +++ b/examples/libapplet_launch/Makefile @@ -113,6 +113,10 @@ else export APP_ICON := $(TOPDIR)/$(ICON) endif +ifeq ($(strip $(NO_SMDH)),) + export _3DSXFLAGS += --smdh=$(CURDIR)/$(TARGET).smdh +endif + .PHONY: $(BUILD) clean all #--------------------------------------------------------------------------------- diff --git a/examples/mvd/Makefile b/examples/mvd/Makefile index 8dce08d..542abb4 100644 --- a/examples/mvd/Makefile +++ b/examples/mvd/Makefile @@ -113,6 +113,10 @@ else export APP_ICON := $(TOPDIR)/$(ICON) endif +ifeq ($(strip $(NO_SMDH)),) + export _3DSXFLAGS += --smdh=$(CURDIR)/$(TARGET).smdh +endif + .PHONY: $(BUILD) clean all #--------------------------------------------------------------------------------- diff --git a/examples/qtm/Makefile b/examples/qtm/Makefile index e6815d1..c366428 100644 --- a/examples/qtm/Makefile +++ b/examples/qtm/Makefile @@ -117,6 +117,10 @@ ifeq ($(strip $(NO_SMDH)),) export _3DSXFLAGS += --smdh=$(CURDIR)/$(TARGET).smdh endif +ifeq ($(strip $(NO_SMDH)),) + export _3DSXFLAGS += --smdh=$(CURDIR)/$(TARGET).smdh +endif + .PHONY: $(BUILD) clean all #--------------------------------------------------------------------------------- diff --git a/examples/sdmc/Makefile b/examples/sdmc/Makefile index 8dce08d..542abb4 100644 --- a/examples/sdmc/Makefile +++ b/examples/sdmc/Makefile @@ -113,6 +113,10 @@ else export APP_ICON := $(TOPDIR)/$(ICON) endif +ifeq ($(strip $(NO_SMDH)),) + export _3DSXFLAGS += --smdh=$(CURDIR)/$(TARGET).smdh +endif + .PHONY: $(BUILD) clean all #---------------------------------------------------------------------------------