xhotplug

Run arbirary commands in response to newly connected X11 displays
git clone git://git.danielmoch.com/xhotplug.git
Log | Files | Refs | README | LICENSE

config.mk (394B)


      1 PREFIX := /usr/local
      2 MANPATH := ${PREFIX}/share/man
      3 X11BASE := /usr/X11R6
      4 
      5 SRC = xhotplug.c
      6 DIST_SRC = ${SRC} Makefile config.mk xhotplug.1 README LICENSE
      7 OBJ = ${SRC:.c=.o}
      8 INCS = -I${X11BASE}/include
      9 LIBS = -L${X11BASE}/lib -lxcb -lxcb-randr
     10 VERSION = 0.1.1dev0
     11 
     12 CPPFLAGS := -DVERSION=\"${VERSION}\"
     13 CFLAGS := -std=c99 -pedantic-errors -Wall -Wextra -Werror -O2 -c ${INCS}
     14 LDFLAGS := ${LIBS}