summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2025-08-10 11:37:52 -0700
committerVito Caputo <vcaputo@pengaru.com>2025-09-11 21:21:44 -0700
commit733fa3c2722a2c59d3e5a27b8becf19a86caf302 (patch)
tree14b49827ff7a70e38c3036c5211104f5b6b61d06 /src/Makefile.am
parented683c9966edc3522aec958bdb40e8ff8a20287f (diff)
vcr: make vcr_draw_bar() base explicit parameter
Get rid of the overloaded meaning of negative values indicating base. While here also put the min_height logic in charts, the vcr side of this should be more dumb mechanism and less policy. While here these pixel space scaled heights should really get rounded to the nearest int in the scaled float->int conversion, otherwise 13.9 height becomes 13 when it should clearly be 14.
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index a8d1035..915ae6a 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -2,7 +2,7 @@ SUBDIRS = libvmon
bin_PROGRAMS = vmon
vmon_SOURCES = ascii.c charts.c vcr.c vmon.c ascii.h charts.h vcr.h
-vmon_LDADD = libvmon/libvmon.a
+vmon_LDADD = libvmon/libvmon.a -lm
vmon_CPPFLAGS = -O2
if HAVE_XCLIENT_DEV
@@ -21,6 +21,6 @@ if ENABLE_VWM
bin_PROGRAMS += vwm
vwm_SOURCES = ascii.c clickety.c composite.c context.c desktop.c key.c launch.c logo.c charts.c screen.c vcr.c vwm.c window.c xevent.c xserver.c xwindow.c ascii.h clickety.h composite.h context.h desktop.h direction.h key.h launch.h list.h logo.h charts.h screen.h util.h vcr.h vwm.h window.h xevent.h xserver.h xwindow.h colors.def context_colors.def launchers.def
-vwm_LDADD = @XWM_DEV_LIBS@ libvmon/libvmon.a
+vwm_LDADD = @XWM_DEV_LIBS@ libvmon/libvmon.a -lm
vwm_CPPFLAGS = @XWM_DEV_CFLAGS@ -DUSE_XLIB
endif
© All Rights Reserved