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 | |
---|
1 | SOCLIB_DESC=desc.py |
---|
2 | SOCLIB_TOP=top.cpp |
---|
3 | SIMULATOR_BINARY=system.x |
---|
4 | |
---|
5 | SOCLIB_DIR=$(shell soclib-cc --getpath) |
---|
6 | |
---|
7 | SIMULATOR_CMD=./$(SIMULATOR_BINARY) --nobanner |
---|
8 | |
---|
9 | all: $(SIMULATOR_BINARY) |
---|
10 | |
---|
11 | $(SIMULATOR_BINARY): $(SOCLIB_DESC) $(SOCLIB_TOP) |
---|
12 | soclib-cc $(SOCLIB_CC_ARGS) -P -p $(SOCLIB_DESC) -o $(SIMULATOR_BINARY) |
---|
13 | |
---|
14 | cscope.out: |
---|
15 | soclib-cc -p $(SOCLIB_DESC) --tags |
---|
16 | |
---|
17 | clean: |
---|
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.