From 4db22ea6547cf324376dc9561e01b84e78825e4d Mon Sep 17 00:00:00 2001 From: Omar Polo Date: Sat, 14 Oct 2023 18:53:37 +0000 Subject: [PATCH] pass LDFLAGS before LIBS --- Makefile | 8 ++++---- 1 file 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