arm11u/Makefile : added mkdir for build (woops)
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.
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 $< $@