diff --git a/Makefile b/Makefile index 9aaf773..a69c006 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ OBJ_DIR := obj SRCs := $(wildcard $(SRC_DIR)/*.c) OBJs := $(SRCs:$(SRC_DIR)/%.c=$(OBJ_DIR)/%.o) -CFLAGS = --std=c99 -O3 -Wall -Werror -Wextra -pedantic +CFLAGS = --std=c99 -D_POSIX_C_SOURCE=200112L -O3 -Wall -Werror -Wextra -pedantic LDFLAGS += -lportaudio -lopus -lsodium $(TARGET): $(OBJs) @@ -25,5 +25,5 @@ $(OBJ_DIR): mkdir -p $@ clean: - rm ${TARGET} - rm obj/*.o \ No newline at end of file + rm -f ${TARGET} + rm -f obj/*.o \ No newline at end of file