pass LDFLAGS before LIBS

This commit is contained in:
Omar Polo 2023-10-14 18:53:37 +00:00
parent 6e4ba8184d
commit 4db22ea654

View File

@ -101,16 +101,16 @@ tags:
# --internal build targets -- # --internal build targets --
gmid: ${GMID_OBJS} gmid: ${GMID_OBJS}
${CC} ${GMID_OBJS} -o $@ ${LIBS} ${LDFLAGS} ${CC} ${GMID_OBJS} -o $@ ${LDFLAGS} ${LIBS}
gemexp: ${GEMEXP_OBJS} gemexp: ${GEMEXP_OBJS}
${CC} ${GEMEXP_OBJS} -o $@ ${LIBS} ${LDFLAGS} ${CC} ${GEMEXP_OBJS} -o $@ ${LDFLAGS} ${LIBS}
gg: ${GG_OBJS} gg: ${GG_OBJS}
${CC} ${GG_OBJS} -o $@ ${LIBS} ${LDFLAGS} ${CC} ${GG_OBJS} -o $@ ${LDFLAGS} ${LIBS}
titan: ${TITAN_OBJS} titan: ${TITAN_OBJS}
${CC} ${TITAN_OBJS} -o $@ ${LIBS} ${LDFLAGS} ${CC} ${TITAN_OBJS} -o $@ ${LDFLAGS} ${LIBS}
y.tab.c: parse.y y.tab.c: parse.y
${YACC} -b y parse.y ${YACC} -b y parse.y