xwinwrap/Makefile

17 lines
274 B
Makefile
Raw Normal View History

2017-08-31 07:04:00 +08:00
CC = gcc
CFLAGS= -g -Wall
INCLUDE = -L /usr/lib/x86_64-linux-gnu
LIBS = -lX11 -lXext -lXrender
all:
${CC} xwinwrap.c ${CFLAGS} ${INCLUDE} ${LIBS} -o xwinwrap
install:
install xwinwrap '/usr/local/bin'
uninstall:
rm -f '/usr/local/bin/xwinwrap'
clean:
rm -f xwinwrap