From d3c9a4f3f1bf75d87f2c27daf84ca54eaad1f280 Mon Sep 17 00:00:00 2001 From: Daniel Jones Date: Tue, 17 Sep 2019 16:00:32 +0930 Subject: build xbell with c89, make code c89 compliant. also add unfinished xmousepos project --- makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'makefile') diff --git a/makefile b/makefile index dc24468..c99ad7d 100644 --- a/makefile +++ b/makefile @@ -1,11 +1,13 @@ -all: binstatus xwake xbell +all: binstatus xwake xbell xmousepos binstatus: binstatus.c cc -o binstatus binstatus.c -lX11 xwake: xwake.c cc -o xwake xwake.c -lX11 -lXss xbell: xbell.c - cc -o xbell xbell.c -lX11 + cc -g -Wall -std=c89 -pedantic -o xbell xbell.c -lX11 +xmousepos: xmousepos.c + cc -g -Wall -std=c89 -pedantic -o xmousepos xmousepos.c -lX11 clean: - @rm -f binstatus xwake xbell + @rm -f binstatus xwake xbell xmousepos @rm -f *.o -- cgit v1.2.3