aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2023-10-14 18:53:37 +0000
committerOmar Polo <op@omarpolo.com>2023-10-14 18:53:37 +0000
commit4db22ea6547cf324376dc9561e01b84e78825e4d (patch)
tree19f3d2d9bf3798a8a2c493b1b03a2a5be57e1684
parent6e4ba8184dc05091184fa1007845e860dc7f1062 (diff)
pass LDFLAGS before LIBS
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index ad56b34..9999b52 100644
--- a/Makefile
+++ b/Makefile
@@ -101,16 +101,16 @@ tags:
# --internal build targets --
gmid: ${GMID_OBJS}
- ${CC} ${GMID_OBJS} -o $@ ${LIBS} ${LDFLAGS}
+ ${CC} ${GMID_OBJS} -o $@ ${LDFLAGS} ${LIBS}
gemexp: ${GEMEXP_OBJS}
- ${CC} ${GEMEXP_OBJS} -o $@ ${LIBS} ${LDFLAGS}
+ ${CC} ${GEMEXP_OBJS} -o $@ ${LDFLAGS} ${LIBS}
gg: ${GG_OBJS}
- ${CC} ${GG_OBJS} -o $@ ${LIBS} ${LDFLAGS}
+ ${CC} ${GG_OBJS} -o $@ ${LDFLAGS} ${LIBS}
titan: ${TITAN_OBJS}
- ${CC} ${TITAN_OBJS} -o $@ ${LIBS} ${LDFLAGS}
+ ${CC} ${TITAN_OBJS} -o $@ ${LDFLAGS} ${LIBS}
y.tab.c: parse.y
${YACC} -b y parse.y