diff --git a/Makefile b/Makefile index 1c3a318..84bcd16 100644 --- a/Makefile +++ b/Makefile @@ -13,6 +13,7 @@ SRCs := $(wildcard $(SRC_DIR)/*.c) OBJs := $(SRCs:$(SRC_DIR)/%.c=$(OBJ_DIR)/%.o) CFLAGS = --std=c99 -D_POSIX_C_SOURCE=200112L -O3 -Wall -Werror -Wextra -pedantic +CFLAGS += -flto LDFLAGS += -lportaudio -lopus -lsodium $(TARGET): $(OBJs)