main
|
Last change
on this file was ea777aa, checked in by Alex Wilton <awilton@…>, 3 years ago |
|
Moved examples, include, build_default.properties, common.xml, and README out from dev.civl.com into the root of the repo.
git-svn-id: svn://vsl.cis.udel.edu/civl/trunk@5704 fb995dde-84ed-4084-dfe6-e5aef3e2452c
|
-
Property mode
set to
100644
|
|
File size:
671 bytes
|
| Line | |
|---|
| 1 | # a test makefile for ROSE
|
|---|
| 2 | # e.g. make all -k -j32
|
|---|
| 3 | C_SOURCE_FILES = $(shell ls ../micro-benchmarks/*.c)
|
|---|
| 4 | CXX_SOURCE_FILES = $(shell ls ../micro-benchmarks/*.cpp)
|
|---|
| 5 |
|
|---|
| 6 | POLYFLAG="../micro-benchmarks/utilities/polybench.c -I ../micro-benchmarks -I ../micro-benchmarks/utilities -DPOLYBENCH_NO_FLUSH_CACHE -DPOLYBENCH_TIME -D_POSIX_C_SOURCE=200112L"
|
|---|
| 7 |
|
|---|
| 8 | C_OBJ_FILES = $(C_SOURCE_FILES:.c=*.o)
|
|---|
| 9 | CXX_OBJ_FILES = $(CXX_SOURCE_FILES:.cpp=*.o)
|
|---|
| 10 |
|
|---|
| 11 | all:$(C_OBJ_FILES) $(CXX_OBJ_FILES)
|
|---|
| 12 |
|
|---|
| 13 | %.o: %.c
|
|---|
| 14 | $(ROSE_INSTALL)/bin/identityTranslator -c -std=c99 -rose:openmp:ast_only $<
|
|---|
| 15 | %.o: %.cpp
|
|---|
| 16 | $(ROSE_INSTALL)/bin/identityTranslator -c -rose:openmp:ast_only $<
|
|---|
| 17 |
|
|---|
| 18 | clean:
|
|---|
| 19 | rm -rf *.o rose_*.c rose_*.cpp
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.