From 7369b3610373baffa47c049eb7e7c637c02ff9ef Mon Sep 17 00:00:00 2001 From: FreeArtMan Date: Sun, 14 Oct 2018 14:07:48 +0100 Subject: Added hello world example --- cpu8/hello_world/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 cpu8/hello_world/Makefile (limited to 'cpu8/hello_world/Makefile') diff --git a/cpu8/hello_world/Makefile b/cpu8/hello_world/Makefile new file mode 100644 index 0000000..50bb5dd --- /dev/null +++ b/cpu8/hello_world/Makefile @@ -0,0 +1,7 @@ +SYSTEMC_PATH=/home/fam/downloads/source/systemc/systemc-2.3.2 +SYSTEMC_INC=$(SYSTEMC_PATH)/src +SYSTEMC_LIB=$(SYSTEMC_PATH)/src/.libs + +make: + g++ hello_world.cpp -I$(SYSTEMC_INC) -L$(SYSTEMC_LIB) -Wl,-rpath=$(SYSTEMC_LIB)\ + -o hello_world -lsystemc -lm \ No newline at end of file -- cgit v1.2.3