xbattmon

simple battery monitor for X
git clone git://git.2f30.org/xbattmon.git
Log | Files | Refs | README | LICENSE

config.linux.mk (330B)


      1 PREFIX = /usr/local
      2 MANPREFIX = $(PREFIX)/share/man
      3 
      4 CPPFLAGS = \
      5 	-D_POSIX_C_SOURCE=200809L \
      6 	-DVERSION=\"${VERSION}\" \
      7 	-DPATH_FMT_BAT_FULL=\"/sys/class/power_supply/BAT%d/energy_full\" \
      8 	-DPATH_FMT_BAT_NOW=\"/sys/class/power_supply/BAT%d/energy_now\" \
      9 	-DPATH_AC_ONLINE=\"/sys/class/power_supply/AC/online\"
     10 LDLIBS = -lX11