27dd304d76
--HG-- extra : convert_revision : xtraeme%40gmail.com-20100113183225-gz8xn8fa5hp2vdan
34 lines
622 B
Makefile
34 lines
622 B
Makefile
include vars.mk
|
|
|
|
SUBDIRS = include lib bin
|
|
|
|
.PHONY: all
|
|
all:
|
|
@for dir in $(SUBDIRS); do \
|
|
$(MAKE) -C $$dir || exit 1; \
|
|
done
|
|
|
|
.PHONY: install
|
|
install:
|
|
@for dir in $(SUBDIRS); do \
|
|
$(MAKE) -C $$dir install || exit 1; \
|
|
done
|
|
@echo
|
|
@echo "Binaries have been installed into $(SBINDIR)."
|
|
@echo "Librares have been installed into $(LIBDIR)."
|
|
@echo
|
|
@echo "WARNING: Don't forget to rerun ldconfig(1)."
|
|
@echo
|
|
|
|
.PHONY: uninstall
|
|
uninstall:
|
|
@for dir in $(SUBDIRS); do \
|
|
$(MAKE) -C $$dir uninstall || exit 1; \
|
|
done
|
|
|
|
.PHONY: clean
|
|
clean:
|
|
@for dir in $(SUBDIRS); do \
|
|
$(MAKE) -C $$dir clean || exit 1; \
|
|
done
|