glazier

the original window manipulator
Log | Files | Refs | Submodules | README | LICENSE

mkfile (589B)


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<config.mk

LIBWM_SRC = `{find libwm/ -name '*.c'}

SRC = glazier.c $LIBWM_SRC
OBJ = ${SRC:%.c=%.o}

glazier: $OBJ
	$LD -o $target $prereq $LDFLAGS $LIBS

%.o: %.c
	$CC $CFLAGS -c $stem.c -o $stem.o

clean:V:
	rm -f $OBJ glazier

install:V: glazier
	mkdir -p ${DESTDIR}${PREFIX}/bin
	cp glazier ${DESTDIR}${PREFIX}/bin/glazier
	chmod 755 ${DESTDIR}${PREFIX}/bin/glazier
	mkdir -p ${DESTDIR}${MANDIR}/man1
	cp glazier.1 ${DESTDIR}${MANDIR}/man1/glazier.1
	chmod 644 ${DESTDIR}${MANDIR}/man1/glazier.1

uninstall:V:
	rm ${DESTDIR}${PREFIX}/bin/glazier
	rm ${DESTDIR}${MANDIR}/man1/glazier.1