From 51dcb562cf591ce2c5b36cbffb7c717e1e174c9a Mon Sep 17 00:00:00 2001 From: Calvin Morrison Date: Fri, 17 Jan 2014 14:30:13 -0500 Subject: add mkdir -p bin for our makefile --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index d5e673a..38b2b3d 100644 --- a/Makefile +++ b/Makefile @@ -4,8 +4,10 @@ CFLAGS = -O3 -s -mtune=native -Wall -DVERSION=$(VERSION) -Wextra SRC = src BIN = bin -all: $(BIN)/strstream $(BIN)/melting_range $(BIN)/strstreamone +all: output_dir $(BIN)/strstream $(BIN)/melting_range $(BIN)/strstreamone +output_dir: + mkdir -p $(BIN) $(BIN)/strstream: $(SRC)/strstream.c $(CC) $(SRC)/strstream.c -o $(BIN)/strstream $(CLIBS) $(CFLAGS) $(BIN)/strstreamone: $(SRC)/strstreamone.c -- cgit v1.2.1