about summary refs log tree commit diff
path: root/Makefile
blob: ac6981a16e417ca5792a5c378599ca069c0f8f27 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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