summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/makefile b/makefile
index c2005e9..1530317 100644
--- a/makefile
+++ b/makefile
@@ -5,7 +5,7 @@ CFLAGS = -std=c99 -g -Wall -Werror -Wno-unused-variable
.PHONY: default all clean
-default: $(TARGET)
+default: mkdirs $(TARGET)
all: default
OBJECTS = $(patsubst %.c, %.o, $(wildcard *.c))
@@ -23,4 +23,7 @@ clean:
-rm -f *.o
-rm -f *.tmp
-rm -f $(TARGET)
+ -rm -rf output/
+mkdirs:
+ mkdir -p {output/posts/direct,output/opinions}