From 50fd2f37c3a438f35e8730327f512891a2c8ae8f Mon Sep 17 00:00:00 2001 From: Bryson Steck Date: Tue, 26 Apr 2022 12:09:44 -0600 Subject: fix linking order --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index fbf7414..252e8a7 100644 --- a/Makefile +++ b/Makefile @@ -5,10 +5,10 @@ include config.mk SRC = uirc.c uirc: ${SRC} - ${CC}${OPTIONS} -lcurl -lm -o uirc -O3 ${SRC} + ${CC}${OPTIONS} -o uirc -O3 ${SRC} -lcurl -lm 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 rm d_uirc -- cgit v1.2.3