From a6ce873b6152755a72ad3618b78a324463ea5a4c Mon Sep 17 00:00:00 2001 From: Yuichi Nishiwaki Date: Sun, 2 Mar 2014 12:23:36 +0900 Subject: [PATCH] add additional make targets --- CMakeLists.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 44d8a65e..1ed59c29 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -22,6 +22,16 @@ include(tools/CMakeLists.txt) # copy runtime files file(COPY piclib DESTINATION .) +file(COPY etc DESTINATION .) # $ make run add_custom_target(run bin/picrin DEPENDS repl) + +# $ make no-act +add_custom_target(no-act bin/picrin -e '' > /dev/null DEPENDS repl) + +# $ make tak +add_custom_target(tak bin/picrin etc/tak.scm DEPENDS repl) + +# $ make lines +add_custom_target(lines find . -name "*.[chyl]" | xargs wc -l WORKING_DIRECTORY ${PROJECT_SOURCE_DIR})