aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2021-03-29 09:42:06 +0000
committerOmar Polo <op@omarpolo.com>2021-03-29 09:42:06 +0000
commit8b462a5d17565f8c4b87fd0301a0d6f94b1ca0c1 (patch)
tree441461c42086ce63c80fbe4df2cd20647d36e35e /Makefile
parentc836cdfadb29dde5f7afee662a27e9d691bb9ba0 (diff)
fix static target
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 1b3d8fa..b86703b 100644
--- a/Makefile
+++ b/Makefile
@@ -23,10 +23,7 @@ gg: gg.o iri.o utf8.o ${COMPAT}
${CC} gg.o iri.o utf8.o ${COMPAT} -o $@ ${LDFLAGS}
static: ${OBJS}
- ${CC} -static ${OBJS} \
- ${LIBDIR}/libcrypto.a ${LIBDIR}/libtls.a ${LIBDIR}/libssl.a \
- -o gmid
- strip gmid
+ ${CC} ${OBJS} -o gmid ${LDFLAGS} ${STATIC}
TAGS: ${SRCS}
-etags ${SRCS} || true