termux-packages/packages/pomodoro-curses/Makefile.patch

18 lines
466 B
Diff
Raw Normal View History

2022-01-29 23:43:12 +01:00
--- 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