aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrow Savcik <krow@savcik.xyz>2024-01-21 01:33:46 +0200
committerKrow Savcik <krow@savcik.xyz>2024-01-21 01:33:46 +0200
commit15cbf8f2321d68b3bdfe89c39deb8f1b75f24664 (patch)
treef48cdf686dc11ef47e9751bb9fee0fc5a9176dfe
parent44628e689575cd0009124151830dd2395de2ed91 (diff)
fix linking flags
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2553325..2c7d1fb 100644
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@ OBJ = draw.o
all: build run
build: ${OBJ} sim.c
- ${CC} ${CFLAGS} ${LIBS} ${OBJ} sim.c -o sim
+ ${CC} ${CFLAGS} ${OBJ} sim.c -o sim ${LIBS}
run:
./sim