Rev 1157 | Rev 1288 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1287 | giacomo | 1 | include ../shark.cfg |
1120 | pj | 2 | |
1287 | giacomo | 3 | ifeq ($(findstring NEW,$(TRACER)) , NEW) |
4 | TRC = tracer |
||
5 | ifeq ($(findstring OLD,$(TRACER)) , OLD) |
||
6 | TRC = newtracer |
||
7 | else |
||
8 | TRC = tracer newtracer |
||
9 | endif |
||
10 | endif |
||
11 | |||
12 | dirs := $(filter-out CVS cvs base_cpp makefile readme.txt README.TXT $(TRC), $(wildcard *)) |
||
1120 | pj | 13 | p_all := $(addprefix prefixall_, $(dirs)) |
14 | p_install := $(addprefix prefixinstall_, $(dirs)) |
||
15 | p_clean := $(addprefix prefixclean_, $(dirs)) |
||
16 | pcleanall := $(addprefix prefixcleanall_, $(dirs)) |
||
17 | pdepend := $(addprefix prefixdepend_, $(dirs)) |
||
18 | |||
19 | |||
20 | .PHONY: all clean |
||
21 | |||
22 | |||
23 | |||
24 | all: $(p_all) |
||
25 | |||
26 | clean: $(p_clean) |
||
27 | |||
28 | prefixall_%: |
||
29 | make -C $* |
||
30 | |||
31 | prefixclean_%: |
||
32 | make -C $* clean |