just walk away and there will be an end to the horror
view - history - annotated - download
PROGS=batterybacklight fullreverse sct stdwinjector PROGS+=timescroll windowlistener xautobacklight mirrorkeys PROGS+=circle ruler all: $(PROGS) clean: rm -f $(PROGS) CC=cc OPT=-std=c99 -O2 -Wall INC=-I/usr/X11R6/include LIB=-L/usr/X11R6/lib -lX11 batterybacklight: batterybacklight.c ${CC} ${OPT} $< -o $@ fullreverse: fullreverse.c ${CC} ${OPT} ${INC} $< ${LIB} -lXtst -o $@ sct: sct.c ${CC} ${OPT} ${INC} $< ${LIB} -lXrandr -o $@ stdwinjector: stdwinjector.c ${CC} ${OPT} ${INC} $< ${LIB} -o $@ timescroll: timescroll.c ${CC} ${OPT} ${INC} $< ${LIB} -lXtst -o $@ mirrorkeys: mirrorkeys.c ${CC} ${OPT} ${INC} $< ${LIB} -o $@ windowlistener: windowlistener.c ${CC} ${OPT} ${INC} $< ${LIB} -o $@ xautobacklight: xautobacklight.c ${CC} ${OPT} ${INC} $< ${LIB} -lXrandr -o $@ circle: circle.c ${CC} ${OPT} ${INC} $< ${LIB} -lXrandr -lGL -o $@ ruler: ruler.c ${CC} ${OPT} ${INC} $< ${LIB} -lXrandr -lXext -o $@