c72f3a1a3c
upcoming 0.3 version. --HG-- extra : convert_revision : xtraeme%40gmail.com-20091018091539-4f7ynscyvsqt3st4
34 lines
572 B
Makefile
34 lines
572 B
Makefile
include vars.mk
|
|
|
|
SUBDIRS = lib bin
|
|
|
|
.PHONY: all
|
|
all:
|
|
for dir in $(SUBDIRS); do \
|
|
$(MAKE) -C $$dir; \
|
|
done
|
|
|
|
.PHONY: install
|
|
install:
|
|
for dir in $(SUBDIRS); do \
|
|
$(MAKE) -C $$dir install; \
|
|
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; \
|
|
done
|
|
|
|
.PHONY: clean
|
|
clean:
|
|
for dir in $(SUBDIRS); do \
|
|
$(MAKE) -C $$dir clean; \
|
|
done
|