wmii/mk/common.mk

19 lines
320 B
Makefile

all:
install: all
depend: cleandep
MANDIRS=${MAN}/man1
mkdirs:
for i in ${BIN} ${ETC} ${MANDIRS} ${DIRS}; do \
test -d $$i || echo MKDIR $$i; \
mkdir -pm 0755 $$i; \
done
install: ${HFILES:.h=.install}
cleandep:
rm .depend 2>/dev/null || true
.PHONY: all options clean dist install uninstall depend cleandep