Last change
on this file since 1042 was
1009,
checked in by cfuguet, 9 years ago
|
add a new platform for the evaluation of the broadcast recovery
replication policy.
|
-
Property svn:executable set to
*
|
File size:
786 bytes
|
Line | |
---|
1 | RM := rm -f |
---|
2 | SOCLIB_CC := soclib-cc |
---|
3 | SOCLIB_CC_MODE := -m release |
---|
4 | SOCLIB_CC_ARGS := -P -I. |
---|
5 | |
---|
6 | TAGS := cscope.out |
---|
7 | TARGET := simul.x |
---|
8 | |
---|
9 | objs := $(wildcard *.o) |
---|
10 | objs += $(wildcard $(TARGET)) |
---|
11 | objs := $(strip $(objs)) |
---|
12 | |
---|
13 | extra_objs += $(wildcard $(TAGS)) |
---|
14 | extra_objs := $(strip $(extra_objs)) |
---|
15 | |
---|
16 | all: $(TARGET) |
---|
17 | tags: $(TAGS) |
---|
18 | |
---|
19 | .PHONY: $(TARGET) |
---|
20 | $(TARGET): top.desc top.cpp |
---|
21 | $(SOCLIB_CC) $(SOCLIB_CC_MODE) $(SOCLIB_CC_ARGS) -p $< -o $@ |
---|
22 | |
---|
23 | .PHONY: $(TAGS) |
---|
24 | $(TAGS): top.desc |
---|
25 | $(SOCLIB_CC) -p $< --tags --tags-type=cscope --tags-output=$@ |
---|
26 | |
---|
27 | .PHONY: clean |
---|
28 | clean: |
---|
29 | $(SOCLIB_CC) $(SOCLIB_CC_MODE) -x -p top.desc -I. |
---|
30 | ifneq ($(objs),) |
---|
31 | $(RM) $(objs) |
---|
32 | endif |
---|
33 | |
---|
34 | .PHONY: distclean |
---|
35 | distclean: clean |
---|
36 | ifneq ($(extra_objs),) |
---|
37 | $(RM) $(extra_objs) |
---|
38 | endif |
---|
Note: See
TracBrowser
for help on using the repository browser.