vp-build/Makefile
Juan RP cde9dddfcf Move xbps-src.sh into bin/.
--HG--
extra : convert_revision : bb6fba26702ec51514b31abd1eb5f8d7431b30b6
2008-12-22 02:26:28 +01:00

32 lines
542 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
uninstall:
-rm -f $(SBINDIR)/xbps-*
-rm -f $(LIBDIR)/libxbps.so*
.PHONY: clean
clean:
for dir in $(SUBDIRS); do \
$(MAKE) -C $$dir clean; \
done