]> Chaos Git - corbenik/ctrulib.git/commitdiff
Revert "Update example makefiles"
authorDave Murphy <davem@devkitpro.org>
Fri, 5 Dec 2014 13:47:57 +0000 (13:47 +0000)
committerDave Murphy <davem@devkitpro.org>
Fri, 5 Dec 2014 13:47:57 +0000 (13:47 +0000)
This reverts commit 0f93112ecb43ae145c7e5e353e1e378de31c4a33.

examples/app_launch/Makefile
examples/gpu/Makefile
examples/http/Makefile
examples/libapplet_launch/Makefile
examples/mic/Makefile
examples/mvd/Makefile
examples/sdmc/Makefile

index 576126e71a9aeba1960cff6ae50a12d93767a509..c4c758ea3af42dd7efb4854ae74447f04a5370cc 100644 (file)
@@ -35,7 +35,7 @@ INCLUDES      :=      include
 #---------------------------------------------------------------------------------
 # options for code generation
 #---------------------------------------------------------------------------------
-ARCH   :=      -march=armv6k -mtune=mpcore -mfloat-abi=hard
+ARCH   :=      -march=armv6k -mtune=mpcore -mfloat-abi=softfp
 
 CFLAGS :=      -g -Wall -O2 -mword-relocations \
                        -fomit-frame-pointer -ffast-math \
@@ -113,10 +113,6 @@ else
        export APP_ICON := $(TOPDIR)/$(ICON)
 endif
 
-ifeq ($(strip $(NO_SMDH)),)
-       export _3DSXFLAGS += --smdh=$(CURDIR)/$(TARGET).smdh
-endif
-
 .PHONY: $(BUILD) clean all
 
 #---------------------------------------------------------------------------------
@@ -141,11 +137,10 @@ DEPENDS   :=      $(OFILES:.o=.d)
 # main targets
 #---------------------------------------------------------------------------------
 ifeq ($(strip $(NO_SMDH)),)
-$(OUTPUT).3dsx :       $(OUTPUT).elf $(OUTPUT).smdh
-else
-$(OUTPUT).3dsx :       $(OUTPUT).elf
+.PHONY: all
+all    :       $(OUTPUT).3dsx $(OUTPUT).smdh
 endif
-
+$(OUTPUT).3dsx :       $(OUTPUT).elf
 $(OUTPUT).elf  :       $(OFILES)
 
 #---------------------------------------------------------------------------------
index 576126e71a9aeba1960cff6ae50a12d93767a509..c4c758ea3af42dd7efb4854ae74447f04a5370cc 100644 (file)
@@ -35,7 +35,7 @@ INCLUDES      :=      include
 #---------------------------------------------------------------------------------
 # options for code generation
 #---------------------------------------------------------------------------------
-ARCH   :=      -march=armv6k -mtune=mpcore -mfloat-abi=hard
+ARCH   :=      -march=armv6k -mtune=mpcore -mfloat-abi=softfp
 
 CFLAGS :=      -g -Wall -O2 -mword-relocations \
                        -fomit-frame-pointer -ffast-math \
@@ -113,10 +113,6 @@ else
        export APP_ICON := $(TOPDIR)/$(ICON)
 endif
 
-ifeq ($(strip $(NO_SMDH)),)
-       export _3DSXFLAGS += --smdh=$(CURDIR)/$(TARGET).smdh
-endif
-
 .PHONY: $(BUILD) clean all
 
 #---------------------------------------------------------------------------------
@@ -141,11 +137,10 @@ DEPENDS   :=      $(OFILES:.o=.d)
 # main targets
 #---------------------------------------------------------------------------------
 ifeq ($(strip $(NO_SMDH)),)
-$(OUTPUT).3dsx :       $(OUTPUT).elf $(OUTPUT).smdh
-else
-$(OUTPUT).3dsx :       $(OUTPUT).elf
+.PHONY: all
+all    :       $(OUTPUT).3dsx $(OUTPUT).smdh
 endif
-
+$(OUTPUT).3dsx :       $(OUTPUT).elf
 $(OUTPUT).elf  :       $(OFILES)
 
 #---------------------------------------------------------------------------------
index 576126e71a9aeba1960cff6ae50a12d93767a509..c4c758ea3af42dd7efb4854ae74447f04a5370cc 100644 (file)
@@ -35,7 +35,7 @@ INCLUDES      :=      include
 #---------------------------------------------------------------------------------
 # options for code generation
 #---------------------------------------------------------------------------------
-ARCH   :=      -march=armv6k -mtune=mpcore -mfloat-abi=hard
+ARCH   :=      -march=armv6k -mtune=mpcore -mfloat-abi=softfp
 
 CFLAGS :=      -g -Wall -O2 -mword-relocations \
                        -fomit-frame-pointer -ffast-math \
@@ -113,10 +113,6 @@ else
        export APP_ICON := $(TOPDIR)/$(ICON)
 endif
 
-ifeq ($(strip $(NO_SMDH)),)
-       export _3DSXFLAGS += --smdh=$(CURDIR)/$(TARGET).smdh
-endif
-
 .PHONY: $(BUILD) clean all
 
 #---------------------------------------------------------------------------------
@@ -141,11 +137,10 @@ DEPENDS   :=      $(OFILES:.o=.d)
 # main targets
 #---------------------------------------------------------------------------------
 ifeq ($(strip $(NO_SMDH)),)
-$(OUTPUT).3dsx :       $(OUTPUT).elf $(OUTPUT).smdh
-else
-$(OUTPUT).3dsx :       $(OUTPUT).elf
+.PHONY: all
+all    :       $(OUTPUT).3dsx $(OUTPUT).smdh
 endif
-
+$(OUTPUT).3dsx :       $(OUTPUT).elf
 $(OUTPUT).elf  :       $(OFILES)
 
 #---------------------------------------------------------------------------------
index 576126e71a9aeba1960cff6ae50a12d93767a509..c4c758ea3af42dd7efb4854ae74447f04a5370cc 100644 (file)
@@ -35,7 +35,7 @@ INCLUDES      :=      include
 #---------------------------------------------------------------------------------
 # options for code generation
 #---------------------------------------------------------------------------------
-ARCH   :=      -march=armv6k -mtune=mpcore -mfloat-abi=hard
+ARCH   :=      -march=armv6k -mtune=mpcore -mfloat-abi=softfp
 
 CFLAGS :=      -g -Wall -O2 -mword-relocations \
                        -fomit-frame-pointer -ffast-math \
@@ -113,10 +113,6 @@ else
        export APP_ICON := $(TOPDIR)/$(ICON)
 endif
 
-ifeq ($(strip $(NO_SMDH)),)
-       export _3DSXFLAGS += --smdh=$(CURDIR)/$(TARGET).smdh
-endif
-
 .PHONY: $(BUILD) clean all
 
 #---------------------------------------------------------------------------------
@@ -141,11 +137,10 @@ DEPENDS   :=      $(OFILES:.o=.d)
 # main targets
 #---------------------------------------------------------------------------------
 ifeq ($(strip $(NO_SMDH)),)
-$(OUTPUT).3dsx :       $(OUTPUT).elf $(OUTPUT).smdh
-else
-$(OUTPUT).3dsx :       $(OUTPUT).elf
+.PHONY: all
+all    :       $(OUTPUT).3dsx $(OUTPUT).smdh
 endif
-
+$(OUTPUT).3dsx :       $(OUTPUT).elf
 $(OUTPUT).elf  :       $(OFILES)
 
 #---------------------------------------------------------------------------------
index 576126e71a9aeba1960cff6ae50a12d93767a509..c4c758ea3af42dd7efb4854ae74447f04a5370cc 100644 (file)
@@ -35,7 +35,7 @@ INCLUDES      :=      include
 #---------------------------------------------------------------------------------
 # options for code generation
 #---------------------------------------------------------------------------------
-ARCH   :=      -march=armv6k -mtune=mpcore -mfloat-abi=hard
+ARCH   :=      -march=armv6k -mtune=mpcore -mfloat-abi=softfp
 
 CFLAGS :=      -g -Wall -O2 -mword-relocations \
                        -fomit-frame-pointer -ffast-math \
@@ -113,10 +113,6 @@ else
        export APP_ICON := $(TOPDIR)/$(ICON)
 endif
 
-ifeq ($(strip $(NO_SMDH)),)
-       export _3DSXFLAGS += --smdh=$(CURDIR)/$(TARGET).smdh
-endif
-
 .PHONY: $(BUILD) clean all
 
 #---------------------------------------------------------------------------------
@@ -141,11 +137,10 @@ DEPENDS   :=      $(OFILES:.o=.d)
 # main targets
 #---------------------------------------------------------------------------------
 ifeq ($(strip $(NO_SMDH)),)
-$(OUTPUT).3dsx :       $(OUTPUT).elf $(OUTPUT).smdh
-else
-$(OUTPUT).3dsx :       $(OUTPUT).elf
+.PHONY: all
+all    :       $(OUTPUT).3dsx $(OUTPUT).smdh
 endif
-
+$(OUTPUT).3dsx :       $(OUTPUT).elf
 $(OUTPUT).elf  :       $(OFILES)
 
 #---------------------------------------------------------------------------------
index 576126e71a9aeba1960cff6ae50a12d93767a509..c4c758ea3af42dd7efb4854ae74447f04a5370cc 100644 (file)
@@ -35,7 +35,7 @@ INCLUDES      :=      include
 #---------------------------------------------------------------------------------
 # options for code generation
 #---------------------------------------------------------------------------------
-ARCH   :=      -march=armv6k -mtune=mpcore -mfloat-abi=hard
+ARCH   :=      -march=armv6k -mtune=mpcore -mfloat-abi=softfp
 
 CFLAGS :=      -g -Wall -O2 -mword-relocations \
                        -fomit-frame-pointer -ffast-math \
@@ -113,10 +113,6 @@ else
        export APP_ICON := $(TOPDIR)/$(ICON)
 endif
 
-ifeq ($(strip $(NO_SMDH)),)
-       export _3DSXFLAGS += --smdh=$(CURDIR)/$(TARGET).smdh
-endif
-
 .PHONY: $(BUILD) clean all
 
 #---------------------------------------------------------------------------------
@@ -141,11 +137,10 @@ DEPENDS   :=      $(OFILES:.o=.d)
 # main targets
 #---------------------------------------------------------------------------------
 ifeq ($(strip $(NO_SMDH)),)
-$(OUTPUT).3dsx :       $(OUTPUT).elf $(OUTPUT).smdh
-else
-$(OUTPUT).3dsx :       $(OUTPUT).elf
+.PHONY: all
+all    :       $(OUTPUT).3dsx $(OUTPUT).smdh
 endif
-
+$(OUTPUT).3dsx :       $(OUTPUT).elf
 $(OUTPUT).elf  :       $(OFILES)
 
 #---------------------------------------------------------------------------------
index 576126e71a9aeba1960cff6ae50a12d93767a509..c4c758ea3af42dd7efb4854ae74447f04a5370cc 100644 (file)
@@ -35,7 +35,7 @@ INCLUDES      :=      include
 #---------------------------------------------------------------------------------
 # options for code generation
 #---------------------------------------------------------------------------------
-ARCH   :=      -march=armv6k -mtune=mpcore -mfloat-abi=hard
+ARCH   :=      -march=armv6k -mtune=mpcore -mfloat-abi=softfp
 
 CFLAGS :=      -g -Wall -O2 -mword-relocations \
                        -fomit-frame-pointer -ffast-math \
@@ -113,10 +113,6 @@ else
        export APP_ICON := $(TOPDIR)/$(ICON)
 endif
 
-ifeq ($(strip $(NO_SMDH)),)
-       export _3DSXFLAGS += --smdh=$(CURDIR)/$(TARGET).smdh
-endif
-
 .PHONY: $(BUILD) clean all
 
 #---------------------------------------------------------------------------------
@@ -141,11 +137,10 @@ DEPENDS   :=      $(OFILES:.o=.d)
 # main targets
 #---------------------------------------------------------------------------------
 ifeq ($(strip $(NO_SMDH)),)
-$(OUTPUT).3dsx :       $(OUTPUT).elf $(OUTPUT).smdh
-else
-$(OUTPUT).3dsx :       $(OUTPUT).elf
+.PHONY: all
+all    :       $(OUTPUT).3dsx $(OUTPUT).smdh
 endif
-
+$(OUTPUT).3dsx :       $(OUTPUT).elf
 $(OUTPUT).elf  :       $(OFILES)
 
 #---------------------------------------------------------------------------------