source: branches/reconfiguration/platforms/tsar_generic_iob/Makefile @ 997

Last change on this file since 997 was 986, checked in by cfuguet, 10 years ago

reconf: some improvements on tsar_generic_iob platform

  • Property svn:executable set to *
File size: 620 bytes
Line 
1TAGS := cscope.out
2SOCLIB_CC_MODE := -m release
3SOCLIB_CC_ARGS := $(SOCLIB_CC_MODE)
4SOCLIB_CC_ARGS += -v
5#SOCLIB_CC_ARGS += -bcaba:reconf:vci_xicu
6#SOCLIB_CC_ARGS += -bcaba:vci_iopic
7#SOCLIB_CC_ARGS += -bcaba:vci_block_device_tsar
8
9all: simul.x
10tags: $(TAGS)
11
12simul.x: top.cpp top.desc
13        soclib-cc $(SOCLIB_CC_ARGS) -P -p top.desc -I. -o simul.x
14
15$(TAGS): top.desc
16        soclib-cc -p $< --tags --tags-type=cscope --tags-output=$@
17
18clean:
19        soclib-cc $(SOCLIB_CC_MODE) -x -p top.desc -I.
20        rm -rf *.o *.x tty* term*
21
22distclean: clean
23        rm -f $(TAGS) hard_config.h
24        find . -name "*.pyc" -exec rm -f {} \;
25
26.PHONY: simul.x $(TAGS)
27
Note: See TracBrowser for help on using the repository browser.