aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2022-03-29 12:21:08 +0000
committerOmar Polo <op@omarpolo.com>2022-03-29 12:21:08 +0000
commit2a7f69f4eeb32a561a5a731e05145136030b4a71 (patch)
tree22d6016509589d0df9ffe06bf470ed5274a24d14 /Makefile
parent4252e62cad7a923226723cb2f0f054c12b89b3c2 (diff)
fix `make static': compile `gg' too!
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index fdcaa63..970fa91 100644
--- a/Makefile
+++ b/Makefile
@@ -20,8 +20,9 @@ gmid: ${GMID_OBJS}
gg: ${GG_OBJS}
${CC} ${GG_OBJS} -o $@ ${LDFLAGS}
-static: ${GMID_OBJS}
+static: ${GMID_OBJS} ${GG_OBJS}
${CC} ${GMID_OBJS} -o gmid ${LDFLAGS} ${STATIC}
+ ${CC} ${GG_OBJS} -o gg ${LDFLAGS} ${STATIC}
clean:
rm -f *.o compat/*.o y.tab.c y.tab.h y.output gmid gg