Commit 3e32ffbc authored by rmrf's avatar rmrf
Browse files

Update Makefile.systemc build

parent 971e3ded
......@@ -9,7 +9,9 @@ SYSTEMC ?=
SYSTEMC_HOME ?= $(SYSTEMC)
TARGET_ARCH ?= linux64
SYSTEMC_INC_DIR = $(SYSTEMC_HOME)/include
LLVM_BUILD_DIR ?=
SYSTEMC_CLANG_SRC ?= /home/twiga/code/systemc-clang
SYSTEMC_INC_DIR = $(SYSTEMC_HOME)/include
SYSTEMC_LIB_DIR = $(SYSTEMC_HOME)/lib-$(TARGET_ARCH)
# LIBTOOL Setting
......@@ -23,7 +25,7 @@ LD = g++
FLAGS = -g -Wall -pedantic -Wno-long-long \
-DSC_INCLUDE_DYNAMIC_PROCESSES -fpermissive \
-I$(SYSTEMC_INC_DIR)
-I$(SYSTEMC_INC_DIR) -I$(SYSTEMC_CLANG_SRC)/src -I$(LLVM_BUILD_DIR)/include
LDFLAGS = -L$(SYSTEMC_LIB_DIR) -lsystemc -lm
############################################################################
......
......@@ -9,6 +9,10 @@ using namespace std;
//using namespace clang::tooling;
int main(int argc, const char **argv) {
cout << "args: " << argc << endl;
for(int i=0;i<argc-1;i++) {
cout << "argv[" << i << "]: " << argv[i] << endl;
}
PluginAction<SystemCClang> scc(argc, argv);
return 0;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment