From 6d25d6d3353e0c0e90cdc6a6abc17329b8dd67d0 Mon Sep 17 00:00:00 2001 From: Dave Murphy Date: Sun, 1 Mar 2015 16:39:08 +0000 Subject: [PATCH] add smdh embedding --- examples/gpu/Makefile | 4 ++++ examples/graphics/bitmap/24bit-color/Makefile | 3 +++ examples/graphics/printing/hello-world/Makefile | 4 ++++ examples/http/Makefile | 4 ++++ examples/input/read-controls/Makefile | 4 ++++ examples/input/touch-screen/Makefile | 4 ++++ examples/libapplet_launch/Makefile | 4 ++++ examples/mvd/Makefile | 4 ++++ examples/qtm/Makefile | 4 ++++ examples/sdmc/Makefile | 4 ++++ 10 files changed, 39 insertions(+) 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 #---------------------------------------------------------------------------------