summaryrefslogtreecommitdiffhomepage
path: root/tools/mrbc
diff options
context:
space:
mode:
authorJon <[email protected]>2012-05-02 20:46:09 -0400
committerJon <[email protected]>2012-05-22 10:50:28 -0400
commit9f89da6eef2c830db6fc3abb08fe755ae7ce9b6c (patch)
treed1feb367d93853b5f05ce2bbed2171a561631b31 /tools/mrbc
parentb5dcb7128d7d235b66b4d9be879d26364dd1e3e9 (diff)
downloadmruby-9f89da6eef2c830db6fc3abb08fe755ae7ce9b6c.tar.gz
mruby-9f89da6eef2c830db6fc3abb08fe755ae7ce9b6c.zip
Add native and cross compiling CMake build support
Diffstat (limited to 'tools/mrbc')
-rw-r--r--tools/mrbc/CMakeLists.txt8
-rw-r--r--tools/mrbc/Makefile (renamed from tools/mrbc/Makefile.orig)0
2 files changed, 5 insertions, 3 deletions
diff --git a/tools/mrbc/CMakeLists.txt b/tools/mrbc/CMakeLists.txt
index 073ac1743..71a3a937d 100644
--- a/tools/mrbc/CMakeLists.txt
+++ b/tools/mrbc/CMakeLists.txt
@@ -1,7 +1,9 @@
-# builds tools/mrbc
+# build tools/mrbc executable
+
file(GLOB MRBC_SRC_C "*.c")
add_executable(mrbc ${MRBC_SRC_C})
-target_link_libraries(mrbc ritevm_static ${MRUBY_LIBS})
-install(TARGETS mrbc RUNTIME DESTINATION bin)
+target_link_libraries(mrbc mruby_static ${MRUBY_LIBS})
+install(TARGETS mrbc RUNTIME DESTINATION bin)
+# vim: ts=2 sts=2 sw=2 et
diff --git a/tools/mrbc/Makefile.orig b/tools/mrbc/Makefile
index 9ecda4a59..9ecda4a59 100644
--- a/tools/mrbc/Makefile.orig
+++ b/tools/mrbc/Makefile