From 897a9b0a15e5d92b1aca5efd4ba843875722a4fb Mon Sep 17 00:00:00 2001 From: Ujjwal Verma Date: Thu, 31 Aug 2017 04:34:00 +0530 Subject: Added Makefile --- Makefile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..ac6981a --- /dev/null +++ b/Makefile @@ -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 -- cgit 1.4.1