summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-08-08 13:40:20 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2009-08-08 13:40:20 +0200
commit909df198b28dec471add40a6513583a86b51c394 (patch)
treeb916f2989f9d623fecd8048a2ae52d31483c1beb
parenta36d4dc482a899cf821f57c30fe7a08433e21ac5 (diff)
Makefile: create bin/ if neccessary
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 48baef2..53db794 100644
--- a/Makefile
+++ b/Makefile
@@ -4,6 +4,7 @@ prefix = /usr/local
all: bin/host
bin/%: src/%.c
+ mkdir -p bin
$(CC) $(CFLAGS) -o $@ $<
install: bin/host