aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAlessandro Iezzi <aiezzi@alessandroiezzi.it>2024-08-02 18:04:05 +0200
committerAlessandro Iezzi <aiezzi@alessandroiezzi.it>2024-08-02 18:04:05 +0200
commite241e977ab343c70ced093178db682dd9f3441d9 (patch)
tree796296c80e6255ced6c73885464e03a62ceeb84b /Makefile
parent0c61a6f12a3fcc2cc152cf789a95b5191816fd23 (diff)
downloadproperties-e241e977ab343c70ced093178db682dd9f3441d9.tar.gz
properties-e241e977ab343c70ced093178db682dd9f3441d9.zip
Fix ext directory in Makefile
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.*