aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Iezzi <aiezzi@alessandroiezzi.it>2023-02-02 13:39:51 +0100
committerAlessandro Iezzi <aiezzi@alessandroiezzi.it>2023-02-02 13:39:51 +0100
commit858da74c857763c7a1948f6581b172cd89925a06 (patch)
treec0e82e14d49f99f7714b6a00188ef643331cb729
parenta664bda36b9e28d3c2a89075441790b1842337d9 (diff)
downloadlog-858da74c857763c7a1948f6581b172cd89925a06.tar.gz
log-858da74c857763c7a1948f6581b172cd89925a06.zip
Add `all` target
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 597fe3f..1db2afa 100644
--- a/Makefile
+++ b/Makefile
@@ -15,6 +15,8 @@ ${LIBNAME:=.so}: ${OBJ}
${LIBNAME:=.a}: ${OBJ}
ar rcs $@ ${OBJ}
+all: ${LIBNAME:=.so} ${LIBNAME:=.a} test-app
+
.c.o:
${CC} ${CFLAGS} -fPIC -c $<