1 2 3 4 5 6
CC ?= gcc PROG = cursorpen FLAGS = -lX11 -lXtst -lXi -lpthread -ludev -levdev ${PROG}: ${PROG}.o ${CC} ${PROG}.c -o ${PROG} ${FLAGS}