source: branches/reconfiguration/modules/dspin_router/caba/test/recovery_bcast_evaluation/Makefile

Last change on this file 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 
1RM             := rm -f
2SOCLIB_CC      := soclib-cc
3SOCLIB_CC_MODE := -m release
4SOCLIB_CC_ARGS := -P -I.
5
6TAGS           := cscope.out
7TARGET         := simul.x
8
9objs           := $(wildcard *.o)
10objs           += $(wildcard $(TARGET))
11objs           := $(strip $(objs))
12
13extra_objs     += $(wildcard $(TAGS))
14extra_objs     := $(strip $(extra_objs))
15
16all: $(TARGET)
17tags: $(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
28clean:
29        $(SOCLIB_CC) $(SOCLIB_CC_MODE) -x -p top.desc -I.
30ifneq ($(objs),)
31        $(RM) $(objs)
32endif
33
34.PHONY: distclean
35distclean: clean
36ifneq ($(extra_objs),)
37        $(RM) $(extra_objs)
38endif
Note: See TracBrowser for help on using the repository browser.