diff options
author | Calvin Morrison <mutantturkey@gmail.com> | 2014-01-17 14:30:13 -0500 |
---|---|---|
committer | Calvin Morrison <mutantturkey@gmail.com> | 2014-01-17 14:30:13 -0500 |
commit | 51dcb562cf591ce2c5b36cbffb7c717e1e174c9a (patch) | |
tree | 6c3985a2daa35533b01f5c95faeb011cc60559b9 | |
parent | b09eecbec7e7cca1c133ba5923f55713cf7a78cf (diff) |
add mkdir -p bin for our makefile
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |