summaryrefslogtreecommitdiff
path: root/cpu8/cpu_add/Makefile
diff options
context:
space:
mode:
authorFreeArtMan <dos21h@gmail.com>2018-10-14 14:07:48 +0100
committerFreeArtMan <dos21h@gmail.com>2018-10-14 14:07:48 +0100
commit7369b3610373baffa47c049eb7e7c637c02ff9ef (patch)
treedfe8580d75afe2cc10e308bc2fb2a97ecc945636 /cpu8/cpu_add/Makefile
parent4ea2be2ca3a5945abd6f36d2ac0cb1eb05613a45 (diff)
downloadcpu8-7369b3610373baffa47c049eb7e7c637c02ff9ef.tar.gz
cpu8-7369b3610373baffa47c049eb7e7c637c02ff9ef.zip
Added hello world example
Diffstat (limited to 'cpu8/cpu_add/Makefile')
-rw-r--r--cpu8/cpu_add/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/cpu8/cpu_add/Makefile b/cpu8/cpu_add/Makefile
new file mode 100644
index 0000000..ef0884a
--- /dev/null
+++ b/cpu8/cpu_add/Makefile
@@ -0,0 +1,9 @@
+SYSTEMC_PATH=/home/fam/downloads/source/systemc/systemc-2.3.2
+SYSTEMC_INC=$(SYSTEMC_PATH)/src
+SYSTEMC_LIB=$(SYSTEMC_PATH)/src/.libs
+
+PROJECT=cpu_and_2
+
+make:
+ g++ $(PROJECT).cpp -I$(SYSTEMC_INC) -L$(SYSTEMC_LIB) -Wl,-rpath=$(SYSTEMC_LIB)\
+ -o $(PROJECT) -lsystemc -lm \ No newline at end of file