lchat

A line oriented chat front end for ii.
git clone git://git.suckless.org/lchat
Log | Files | Refs | README

commit 717618148bab4de019bbe3a0fff9d073cb0c672d
parent f95191970fd59c52a8b09cff32bd8d2135cbfc6b
Author: Jan Klemkow <j.klemkow@wemelug.de>
Date:   Sun,  3 Sep 2017 10:59:45 +0200

clean up Makefile

Diffstat:
MMakefile | 17+++++++----------
1 file changed, 7 insertions(+), 10 deletions(-)

diff --git a/Makefile b/Makefile @@ -1,22 +1,18 @@ -CC ?= cc -CFLAGS = -std=c99 -pedantic -Wall -Wextra -g +include config.mk -# utf.h -CFLAGS += -I/usr/local/include -LIBS = -L/usr/local/lib -lutf - -.PHONY: all clean test debug +.PHONY: all install filter clean test all: lchat clean: rm -f lchat *.o *.core sl_test filter/indent +install: lchat + cp lchat ${BINDIR} + cp lchat.1 ${MAN1DIR} + test: sl_test ./sl_test -debug: - gdb lchat lchat.core - lchat: lchat.o slackline.o $(CC) -o $@ lchat.o slackline.o $(LIBS) @@ -24,6 +20,7 @@ lchat.o: lchat.c $(CC) -c $(CFLAGS) -D_BSD_SOURCE -D_XOPEN_SOURCE -D_GNU_SOURCE \ -o $@ lchat.c +filter: filter/indent filter/indent: filter/indent.c $(CC) $(CFLAGS) -o $@ filter/indent.c