Skip to content

Commit

Permalink
chore: remove -Werror from default build command (#145)
Browse files Browse the repository at this point in the history
close #144
  • Loading branch information
Conni2461 authored Feb 11, 2025
1 parent dae2eac commit 2a5ceff
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CFLAGS += -Wall -Werror -fpic -std=gnu99
CFLAGS += -Wall -fpic -std=gnu99

ifeq ($(OS),Windows_NT)
CC = gcc
Expand Down Expand Up @@ -26,6 +26,11 @@ build/$(TARGET): src/fzf.c src/fzf.h
build/test: build/$(TARGET) test/test.c
$(CC) -Og -ggdb3 $(CFLAGS) test/test.c -o build/test -I./src -L./build -lfzf -lexaminer

.PHONY:
debug: src/fzf.c src/fzf.h
$(MKD) build
$(CC) -Og $(CFLAGS) -Werror -shared src/fzf.c -o build/$(TARGET)

.PHONY: lint format clangdhappy clean test ntest
lint:
luacheck lua
Expand Down

0 comments on commit 2a5ceff

Please sign in to comment.