From df23dfb87457bd70d294c8908ba6a58567b3bf21 Mon Sep 17 00:00:00 2001 From: hkc Date: Sun, 25 Feb 2024 13:26:36 +0300 Subject: [PATCH] Added missing linker flags --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 1a5ea4b..03e88c1 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ -CFLAGS += -LDFLAGS := -lm +CFLAGS += -Wall -Wextra -Werror +LDFLAGS := -lm -ldl -lpthread .PHONY: all all: sfxd sfxc @@ -14,4 +14,4 @@ sfxc: src/sfxc.c clean: - $(RM) sfxd sfxc + $(RM) sfxd sfxc miniaudio.o