source: branches/v4/platforms/tsarv4_mono_mmu_ioc/Makefile @ 419

Last change on this file since 419 was 419, checked in by porquet, 11 years ago

modifications in Makefile

  • I can't stand this banner anymore
  • rule for generating the cscope database of this platform
File size: 484 bytes
Line 
1SOCLIB_DESC=desc.py
2SOCLIB_TOP=top.cpp
3SIMULATOR_BINARY=system.x
4
5SOCLIB_DIR=$(shell soclib-cc --getpath)
6
7SIMULATOR_CMD=./$(SIMULATOR_BINARY) --nobanner
8
9all: $(SIMULATOR_BINARY)
10
11$(SIMULATOR_BINARY): $(SOCLIB_DESC) $(SOCLIB_TOP)
12        soclib-cc $(SOCLIB_CC_ARGS) -P -p $(SOCLIB_DESC) -o $(SIMULATOR_BINARY)
13
14cscope.out:
15        soclib-cc -p $(SOCLIB_DESC) --tags
16
17clean:
18        soclib-cc -P -p $(SOCLIB_DESC) -x -o $(SIMULATOR_BINARY)
19        rm -f $(SIMULATOR_BINARY) *.o vci*
20
21.PHONY: $(SIMULATOR_BINARY)
Note: See TracBrowser for help on using the repository browser.