fix linking order

This commit is contained in:
Bryson Steck 2022-04-26 12:09:44 -06:00
parent 3bc4e4adfb
commit 50fd2f37c3

View file

@ -5,10 +5,10 @@ include config.mk
SRC = uirc.c SRC = uirc.c
uirc: ${SRC} uirc: ${SRC}
${CC}${OPTIONS} -lcurl -lm -o uirc -O3 ${SRC} ${CC}${OPTIONS} -o uirc -O3 ${SRC} -lcurl -lm
debug: uirc debug: uirc
${CC} -g${OPTIONS} -lcurl -lm -o d_uirc -O3 ${SRC} ${CC} -g${OPTIONS} -o d_uirc -O3 ${SRC} -lcurl -lm
gdb d_uirc gdb d_uirc
rm d_uirc rm d_uirc