From 5ce948ab4aa7165ade74b0fad6e11c33966ffa77 Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Tue, 23 Jun 2020 19:48:39 -0400 Subject: Rename module_01.cpp to module_01.c --- arm9/lib/Makefile | 5 +---- arm9/modules/01/src/module_01.c | 7 +++++++ arm9/modules/01/src/module_01.cpp | 7 ------- 3 files changed, 8 insertions(+), 11 deletions(-) create mode 100644 arm9/modules/01/src/module_01.c delete mode 100644 arm9/modules/01/src/module_01.cpp diff --git a/arm9/lib/Makefile b/arm9/lib/Makefile index c0e95ade..fd6471f1 100644 --- a/arm9/lib/Makefile +++ b/arm9/lib/Makefile @@ -7,10 +7,6 @@ ifneq (,$(wildcard $(TOOLCHAIN)/base_tools)) include $(TOOLCHAIN)/base_tools endif -### Default target ### - -default: all - # If you are using WSL, it is recommended you build with NOWINE=1. WSLENV ?= no ifeq ($(WSLENV),) @@ -73,6 +69,7 @@ LIBS := libsyscall.a .PHONY: all clean all: $(LIBS) + @: clean: $(RM) $(LIBS) $(LIBS:%.a=%/*.o) diff --git a/arm9/modules/01/src/module_01.c b/arm9/modules/01/src/module_01.c new file mode 100644 index 00000000..1f9f0edc --- /dev/null +++ b/arm9/modules/01/src/module_01.c @@ -0,0 +1,7 @@ +#include "global.h" +#include "sinit.h" + +THUMB_FUNC static void NitroStaticInit(void) { + static u32 var[2]; + var[1]++; +} diff --git a/arm9/modules/01/src/module_01.cpp b/arm9/modules/01/src/module_01.cpp deleted file mode 100644 index 1f9f0edc..00000000 --- a/arm9/modules/01/src/module_01.cpp +++ /dev/null @@ -1,7 +0,0 @@ -#include "global.h" -#include "sinit.h" - -THUMB_FUNC static void NitroStaticInit(void) { - static u32 var[2]; - var[1]++; -} -- cgit v1.2.3