commit dc70dd00cb8694cb50950c91a7d5fe61e5005285 parent 19f413af99f4c9bb9b11fb587e650f23e1efbd2b Author: Antoni Sawicki <tenox@google.com> Date: Tue, 7 May 2019 00:19:01 -0700 Merge pull request #33 from sjmulder/pr/makefile Makefile tweaks Diffstat:
M | Makefile | | | 12 | ++++-------- |
1 file changed, 4 insertions(+), 8 deletions(-)
diff --git a/Makefile b/Makefile @@ -1,13 +1,9 @@ - -CFLAGS = -Wall -O3 +CFLAGS += -Wall +LDLIBS += -lcurses all: ttyplot -ttyplot: ttyplot.c - $(CC) $< -o $@ $(CFLAGS) $(LDFLAGS) -lcurses - -torture: torture.c - $(CC) $< -o $@ $(CFLAGS) $(LDFLAGS) - clean: rm -f ttyplot torture + +.PHONY: all clean