mirror of
https://github.com/0intro/wmii
synced 2024-11-22 13:52:17 +03:00
26 lines
406 B
Makefile
26 lines
406 B
Makefile
LIB = ${TARG}.a
|
|
OFILES = ${OBJ:=.o}
|
|
|
|
all: ${HFILES} ${LIB}
|
|
|
|
install: ${TARG}.install
|
|
uninstall: ${TARG}.uninstall
|
|
clean: libclean
|
|
depend: ${OBJ:=.depend}
|
|
|
|
libclean:
|
|
for i in ${LIB} ${OFILES}; do \
|
|
rm -f $$i; \
|
|
done 2>/dev/null || true
|
|
|
|
printinstall:
|
|
echo 'Install directories:'
|
|
echo ' Lib: ${LIBDIR}'
|
|
|
|
${LIB}: ${OFILES}
|
|
@echo AR $@
|
|
@${AR} $@ ${OFILES}
|
|
@${RANLIB} $@
|
|
|
|
include ${ROOT}/mk/common.mk
|