Added missing linker flags

This commit is contained in:
Casey 2024-02-25 13:26:36 +03:00
parent f95224db34
commit df23dfb874
Signed by: hkc
GPG Key ID: F0F6CFE11CDB0960
1 changed files with 3 additions and 3 deletions

View File

@ -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