aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorjustanothercatgirl <sotov2070@gmail.com>2024-09-25 22:40:34 +0300
committerjustanothercatgirl <sotov2070@gmail.com>2024-09-25 22:40:34 +0300
commit5e92ffa2eb629400b0edd43e6e2df9bd197aaeb6 (patch)
treeb4afc47491122b1ac9da561f539ca1dff81e0699 /Makefile
parent3b3907d9c00185d5c4920df586d14293a3589366 (diff)
added terminal plot support
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 0894ce2..508c7de 100644
--- a/Makefile
+++ b/Makefile
@@ -8,6 +8,9 @@ ifneq ($(OS),Windows_NT)
T2LINKS = -lm -ldl
ifneq (, $(shell which gnuplot))
T2FLAGS += -DPIPE_GNUPLOT
+ ifeq (, ${DISPLAY})
+ T2FLAGS += -DTERMINAL_PLOT
+ endif
endif
endif