termux-packages/packages/pomodoro-curses/Makefile.patch
2022-02-01 05:39:26 +09:00

18 lines
466 B
Diff

--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-CFLAGS=-g -O2 -Wall -Wextra -Isrc -DNDEBUG -lncurses -linih
+CFLAGS+= -Wall -Wextra -Isrc -DNDEBUG $(CPPFLAGS) $(LDFLAGS) -lncurses -linih
SOURCES=$(wildcard src/**/*.c src/*.c)
OBJECTS=$(patsubst %.c,%.o,$(SOURCES))
@@ -21,7 +21,7 @@
.PHONY: all tests clean check install uninstall
# The target build
-all: tests $(TARGET)
+all: $(TARGET)
dev: CFLAGS=-g -Wall -Isrc -Wall -Wextra -lncurses -linih
dev: all