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