From 7b9d7411276f7954f093f258fa2ba031e6756006 Mon Sep 17 00:00:00 2001 From: smea Date: Mon, 20 Jan 2014 21:54:17 +0100 Subject: [PATCH] README : updated with "purpose" arm11u/Makefile : added mkdir for build (woops) --- README.md | 4 ++++ arm11u/Makefile | 7 +++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 777202e..01e0c2a 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,8 @@ ctrulib ======= +CTR User Library library for writing user mode arm11 code for the 3DS (CTR) + +the goal with this is to create a very straightforward interface with the 3DS's OS. +it is not meant to provide higher level functions; to put things in perspective, the purpose of ctrulib would be to sit between the OS and a possible port of SDL rather than replace it. diff --git a/arm11u/Makefile b/arm11u/Makefile index 656b8db..cfb8abd 100644 --- a/arm11u/Makefile +++ b/arm11u/Makefile @@ -12,9 +12,12 @@ SFILES = $(wildcard source/*.s) OFILES += $(SFILES:source/%.s=build/%.o) PROJECTNAME = ${shell basename "$(CURDIR)"} -.PHONY:=all +.PHONY:=all dir -all: $(PROJECTNAME).bin +all: dir $(PROJECTNAME).bin + +dir: + mkdir -p build $(PROJECTNAME).bin: $(PROJECTNAME).elf $(OBJCOPY) -O binary $< $@ -- 2.39.5