source:
trunk/IPs/systemC/hierarchy_memory/cache/Makefile
@
49
| Last change on this file since 49 was 2, checked in by , 19 years ago | |
|---|---|
| File size: 328 bytes | |
| Line | |
|---|---|
| 1 | INCLUDE = -I../../../ |
| 2 | # DEBUG = -DDEBUG |
| 3 | DEBUG = |
| 4 | CXX = g++ |
| 5 | CXX_OPT = -g3 -Wall -Werror -ansi $(INCLUDE) $(DEBUG) |
| 6 | RM = rm -f |
| 7 | |
| 8 | EXE = $(patsubst %.cpp,%.x ,$(wildcard *.cpp) ) |
| 9 | HEADERS = $(wildcard *.h) |
| 10 | |
| 11 | all : $(EXE) |
| 12 | ./$(EXE) |
| 13 | |
| 14 | %.x : %.cpp $(HEADERS) |
| 15 | $(CXX) $(CXX_OPT) -o $@ $< |
| 16 | |
| 17 | clean : |
| 18 | $(RM) $(EXE) *~ |
Note: See TracBrowser
for help on using the repository browser.
