From: smea Date: Mon, 20 Jan 2014 20:54:17 +0000 (+0100) Subject: README : updated with "purpose" X-Git-Tag: v0.2.0~206 X-Git-Url: https://chaos.moe/g/?a=commitdiff_plain;h=7b9d7411276f7954f093f258fa2ba031e6756006;p=corbenik%2Fctrulib.git README : updated with "purpose" arm11u/Makefile : added mkdir for build (woops) --- 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 $< $@