Rev 1288 | 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) |
1288 | giacomo | 4 | TRC = newtrace |
5 | endif |
||
6 | ifeq ($(findstring OLD,$(TRACER)) , OLD) |
||
1287 | giacomo | 7 | TRC = tracer |
8 | endif |
||
9 | |||
1340 | giacomo | 10 | dirs := $(filter-out CVS cvs bttvdemo base_cpp makefile readme.txt tracer newtrace README.TXT, $(wildcard *)) |
1288 | giacomo | 11 | dirs += $(TRC) |
1120 | pj | 12 | p_all := $(addprefix prefixall_, $(dirs)) |
13 | p_install := $(addprefix prefixinstall_, $(dirs)) |
||
14 | p_clean := $(addprefix prefixclean_, $(dirs)) |
||
15 | pcleanall := $(addprefix prefixcleanall_, $(dirs)) |
||
16 | pdepend := $(addprefix prefixdepend_, $(dirs)) |
||
17 | |||
18 | |||
19 | .PHONY: all clean |
||
20 | |||
21 | |||
22 | |||
23 | all: $(p_all) |
||
24 | |||
25 | clean: $(p_clean) |
||
26 | |||
27 | prefixall_%: |
||
28 | make -C $* |
||
29 | |||
30 | prefixclean_%: |
||
31 | make -C $* clean |