From e5369eca591ed04e9f6f3f2d177d5af078b11c16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20A=2E=20Ortega?= Date: Fri, 3 Jun 2016 16:39:35 +0200 Subject: [PATCH] Use a bin/ folder again. --- .gitignore | 2 +- Makefile | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 779710c..3b8f8a4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ # Ignore binaries *.o -helloworld +bin/ diff --git a/Makefile b/Makefile index d79df63..5e71437 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,8 @@ OBJ=src/helloworld.o $(AS) -o $@ $< helloworld: $(OBJ) - $(LINKER) -o $@ $^ + mkdir -p bin/ + $(LINKER) -o bin/$@ $^ .PHONY: clean