gm

(orphaned) group manager using libcxb
git clone git://z3bra.org/gm
Log | Files | Refs | README | LICENSE

commit eca68be288c439de374a006fc84a4d6e9842b4fd
parent c63114171af7d3a2a0e71767879deab87ba21510
Author: z3bra <willy@mailoo.org>
Date:   Sun Dec 28 18:47:16 2014

Fixed makefile

Diffstat:
 Makefile | 11 ++---------
 1 file changed, 2 insertions(+), 9 deletions(-)

diff --git a/Makefile b/Makefile @@ -9,30 +9,23 @@ GZ = gzip CFLAGS += -std=c99 -pedantic -Wall -Os LDFLAGS += -lxcb -lxcb-keysyms -.SUFFIXES: .c .o .1 .1.gz .PHONY : all clean install uninstall .c.o: @echo -e "CC $<" @${CC} -c $< ${CFLAGS} -o $@ -.1.1.gz: - @echo "GZ $<" - @${GZ} -c $< > $@ - gm: gm.o @echo -e "LD gm" @${LD} $< -o $@ ${LDFLAGS} -all : gm gm.1.gz +all : gm clean : ${RM} -f gm *.o *.gz *~ -install: gm gm.1.gz +install: gm install -D -m 0755 gm ${DESTDIR}${PREFIX}/bin/gm - #install -D -m 0644 gm.1.gz ${DESTDIR}${MANPREFIX}/man1/gm.1.gz uninstall: ${RM} ${DESTDIR}${PREFIX}/bin/gm - #${RM} ${DESTDIR}${MANPREFIX}/man1/gm.1.gz