]> Chaos Git - corbenik/ctrulib.git/commitdiff
fix smdh building
authorDave Murphy <davem@devkitpro.org>
Sun, 1 Mar 2015 16:56:10 +0000 (16:56 +0000)
committerDave Murphy <davem@devkitpro.org>
Sun, 1 Mar 2015 16:56:10 +0000 (16:56 +0000)
examples/gpu/Makefile
examples/graphics/printing/hello-world/Makefile
examples/http/Makefile
examples/input/read-controls/Makefile
examples/input/touch-screen/Makefile
examples/libapplet_launch/Makefile
examples/mvd/Makefile
examples/sdmc/Makefile

index bdda1a38b7a57b72054672673e72ce44ea4ed063..ee6b6e407f002e586e12a2a55765b00d3a75619c 100644 (file)
@@ -141,10 +141,11 @@ DEPENDS   :=      $(OFILES:.o=.d)
 # main targets
 #---------------------------------------------------------------------------------
 ifeq ($(strip $(NO_SMDH)),)
-.PHONY: all
-all    :       $(OUTPUT).3dsx $(OUTPUT).smdh
-endif
+$(OUTPUT).3dsx :       $(OUTPUT).elf $(OUTPUT).smdh
+else
 $(OUTPUT).3dsx :       $(OUTPUT).elf
+endif
+
 $(OUTPUT).elf  :       $(OFILES)
 
 #---------------------------------------------------------------------------------
index 542abb4fd23b96f9883a639f4aeafce43c806701..e881aac4c3be2a7f4091572a37a3d7d83ebaaeb9 100755 (executable)
@@ -141,10 +141,10 @@ DEPENDS   :=      $(OFILES:.o=.d)
 # main targets
 #---------------------------------------------------------------------------------
 ifeq ($(strip $(NO_SMDH)),)
-.PHONY: all
-all    :       $(OUTPUT).3dsx $(OUTPUT).smdh
-endif
+$(OUTPUT).3dsx :       $(OUTPUT).elf $(OUTPUT).smdh
+else
 $(OUTPUT).3dsx :       $(OUTPUT).elf
+endif
 $(OUTPUT).elf  :       $(OFILES)
 
 #---------------------------------------------------------------------------------
index 542abb4fd23b96f9883a639f4aeafce43c806701..e881aac4c3be2a7f4091572a37a3d7d83ebaaeb9 100644 (file)
@@ -141,10 +141,10 @@ DEPENDS   :=      $(OFILES:.o=.d)
 # main targets
 #---------------------------------------------------------------------------------
 ifeq ($(strip $(NO_SMDH)),)
-.PHONY: all
-all    :       $(OUTPUT).3dsx $(OUTPUT).smdh
-endif
+$(OUTPUT).3dsx :       $(OUTPUT).elf $(OUTPUT).smdh
+else
 $(OUTPUT).3dsx :       $(OUTPUT).elf
+endif
 $(OUTPUT).elf  :       $(OFILES)
 
 #---------------------------------------------------------------------------------
index b2778463fb6158ea2444e970debc690a7ccfb4da..d75f5482ead557cbc72a0e2aea60e01bbebfb590 100755 (executable)
@@ -141,10 +141,10 @@ DEPENDS   :=      $(OFILES:.o=.d)
 # main targets
 #---------------------------------------------------------------------------------
 ifeq ($(strip $(NO_SMDH)),)
-.PHONY: all
-all    :       $(OUTPUT).3dsx $(OUTPUT).smdh
-endif
+$(OUTPUT).3dsx :       $(OUTPUT).elf $(OUTPUT).smdh
+else
 $(OUTPUT).3dsx :       $(OUTPUT).elf
+endif
 $(OUTPUT).elf  :       $(OFILES)
 
 #---------------------------------------------------------------------------------
index 542abb4fd23b96f9883a639f4aeafce43c806701..e881aac4c3be2a7f4091572a37a3d7d83ebaaeb9 100755 (executable)
@@ -141,10 +141,10 @@ DEPENDS   :=      $(OFILES:.o=.d)
 # main targets
 #---------------------------------------------------------------------------------
 ifeq ($(strip $(NO_SMDH)),)
-.PHONY: all
-all    :       $(OUTPUT).3dsx $(OUTPUT).smdh
-endif
+$(OUTPUT).3dsx :       $(OUTPUT).elf $(OUTPUT).smdh
+else
 $(OUTPUT).3dsx :       $(OUTPUT).elf
+endif
 $(OUTPUT).elf  :       $(OFILES)
 
 #---------------------------------------------------------------------------------
index 542abb4fd23b96f9883a639f4aeafce43c806701..e881aac4c3be2a7f4091572a37a3d7d83ebaaeb9 100644 (file)
@@ -141,10 +141,10 @@ DEPENDS   :=      $(OFILES:.o=.d)
 # main targets
 #---------------------------------------------------------------------------------
 ifeq ($(strip $(NO_SMDH)),)
-.PHONY: all
-all    :       $(OUTPUT).3dsx $(OUTPUT).smdh
-endif
+$(OUTPUT).3dsx :       $(OUTPUT).elf $(OUTPUT).smdh
+else
 $(OUTPUT).3dsx :       $(OUTPUT).elf
+endif
 $(OUTPUT).elf  :       $(OFILES)
 
 #---------------------------------------------------------------------------------
index 542abb4fd23b96f9883a639f4aeafce43c806701..e881aac4c3be2a7f4091572a37a3d7d83ebaaeb9 100644 (file)
@@ -141,10 +141,10 @@ DEPENDS   :=      $(OFILES:.o=.d)
 # main targets
 #---------------------------------------------------------------------------------
 ifeq ($(strip $(NO_SMDH)),)
-.PHONY: all
-all    :       $(OUTPUT).3dsx $(OUTPUT).smdh
-endif
+$(OUTPUT).3dsx :       $(OUTPUT).elf $(OUTPUT).smdh
+else
 $(OUTPUT).3dsx :       $(OUTPUT).elf
+endif
 $(OUTPUT).elf  :       $(OFILES)
 
 #---------------------------------------------------------------------------------
index 542abb4fd23b96f9883a639f4aeafce43c806701..e881aac4c3be2a7f4091572a37a3d7d83ebaaeb9 100644 (file)
@@ -141,10 +141,10 @@ DEPENDS   :=      $(OFILES:.o=.d)
 # main targets
 #---------------------------------------------------------------------------------
 ifeq ($(strip $(NO_SMDH)),)
-.PHONY: all
-all    :       $(OUTPUT).3dsx $(OUTPUT).smdh
-endif
+$(OUTPUT).3dsx :       $(OUTPUT).elf $(OUTPUT).smdh
+else
 $(OUTPUT).3dsx :       $(OUTPUT).elf
+endif
 $(OUTPUT).elf  :       $(OFILES)
 
 #---------------------------------------------------------------------------------