From 839b76c2a9a8df855a3bd9f76a46d22fe83161fd Mon Sep 17 00:00:00 2001 From: chad Date: Thu, 20 Oct 2011 18:42:24 +0000 Subject: [PATCH] Added qsim-harp.so target to Makefile, not built by default. git-svn-id: http://www.cdkersey.com/harp/harptool@34 0246edb2-e076-4747-b392-db732a341fa2 --- src/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Makefile b/src/Makefile index 2122b007..8425760e 100644 --- a/src/Makefile +++ b/src/Makefile @@ -27,6 +27,12 @@ util.o : util.cpp include/types.h include/util.h mem.o : mem.cpp include/types.h include/util.h include/mem.h core.o : core.cpp include/types.h include/util.h include/mem.h include/archdef.h +QSIM_CXXFLAGS=-DEMU_INSTRUMENTATION + +qsim-harp.so: args.cpp enc.cpp instruction.cpp obj.cpp util.cpp mem.cpp core.cpp qsim-harp.cpp include/qsim-harp.h include/types.h include/core.h include/util.h include/enc.h include/archdef.h include/instruction.h include/asm-tokens.h include/mem.h + $(CXX) $(CXXFLAGS) $(QSIM_CXXFLAGS) -shared -o $@ args.cpp enc.cpp instruction.cpp obj.cpp util.cpp mem.cpp core.cpp qsim-harp.cpp + + lex.yy.cc: scanner.lex flex scanner.lex