Added Makefile

This commit is contained in:
Ujjwal Verma committed 2017-08-31 04:34:00 +05:30
1 parent e6fe935297
commit 897a9b0a15
2 files changed
+26 -6

No files matched your search

+16
View File
@@ -0,0 +1,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