Rev 1288 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
include ../shark.cfg
ifeq ($(findstring NEW,$(TRACER)) , NEW)
TRC = newtrace
endif
ifeq ($(findstring OLD,$(TRACER)) , OLD)
TRC = tracer
endif
dirs := $(filter-out CVS cvs bttvdemo base_cpp makefile readme.txt tracer newtrace README.TXT, $(wildcard *))
dirs += $(TRC)
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 clean
all: $(p_all)
clean: $(p_clean)
prefixall_%:
make -C $*
prefixclean_%:
make -C $* clean