aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 377e569..58fbf44 100644
--- a/Makefile
+++ b/Makefile
@@ -22,7 +22,7 @@ properties-parser.h properties-parser.c: properties.y
@mv y.tab.h properties-parser.h
lib${NAME}.a: ${STATIC_OBJ}
- mkdir ext
+ mkdir -p ext
cd ext && ar -x /usr/lib/liby.a && ar -x /usr/lib/libl.a
ar rcs $@ ${STATIC_OBJ} ext/*
@@ -30,7 +30,7 @@ lib${NAME}.so: ${SHARED_OBJ}
${CC} ${SHARED_OBJ} -o $@ ${LFLAGS}
clean:
- @rm -rf build
+ @rm -rf build ext
@rm -f properties-lexer.c lex.*
@rm -f properties-parser.* y.*