diff options
author | Fabio Maciel <6810827+fabiomaciel@users.noreply.github.com> | 2022-12-07 17:49:43 -0300 |
---|---|---|
committer | Fabio Maciel <6810827+fabiomaciel@users.noreply.github.com> | 2022-12-07 17:49:43 -0300 |
commit | 3b62cccc277e1e2bc465528a7b9a06e8ee09629f (patch) | |
tree | a97ef67c6b88923c459ff981e0fc45262592422b /Makefile | |
parent | d9e4bcd542f3efe97e6b8951ee47f10c223a6bf3 (diff) | |
parent | 394ffe17766082c6895208f3fc5710a53cb4f01f (diff) |
Merge remote-tracking branch 'johnny/master'
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -4,8 +4,8 @@ TEST_DIR ?= ./test LIB_DIR ?= ./lib BUILD_DIR ?= ./build -CFLAGS := -Wall -CFLAGS_TEST := -Isrc -Ithird_party -Llib -lmunit +CFLAGS := -Wall -lm +CFLAGS_TEST := -Isrc -Ithird_party -Llib -lmunit SRCS := $(wildcard $(SOURCE_DIR)/*.c) SRCS_TEST := $(wildcard $(TEST_DIR)/*.c) OBJS := $(patsubst $(SOURCE_DIR)/%.c, $(BUILD_DIR)/%.o, $(SRCS)) @@ -44,7 +44,7 @@ $(TEST_DIR)/%: $(TEST_DIR)/%-test test: lib/libmunit.so $(BUILD_DIR) $(TESTS) lib/libmunit.so: $(LIB_DIR) third_party/munit/munit.c - $(CC) -Wall -Werror -fpic -c third_party/munit/munit.c -shared -o lib/libmunit.so + $(CC) -Wall -fpic -c third_party/munit/munit.c -shared -o lib/libmunit.so clean: @rm -rf $(BUILD_DIR) |