Subversion Repositories shark

Rev

Rev 43 | Blame | Compare with Previous | Last modification | View Log | RSS feed


dirs := $(filter-out CVS cvs mesa fftw makefile, $(wildcard *))
p_all := $(addprefix prefixall_, $(dirs))
p_install := $(addprefix prefixinstall_, $(dirs))
p_clean := $(addprefix prefixclean_, $(dirs))
pcleanall := $(addprefix prefixcleanall_, $(dirs))
pdepend := $(addprefix prefixdepend_, $(dirs))


.PHONY: all install clean cleanall depend

install: $(p_install)

all: $(p_all)

clean: $(p_clean)

cleanall: $(p_cleanall)

depend: $(pdepend)

prefixinstall_%:
        make -C $* install

prefixall_%:
        make -C $* all

prefixclean_%:
        make -C $* clean

prefixcleanall_%:
        make -C $* cleanall

prefixdepend_%:
        make -C $* depend