set(DEPS_DIR "${laco_SOURCE_DIR}/deps")

include_directories("${DEPS_DIR}/linenoise")

set(SOURCE ${DEPS_DIR}/linenoise/linenoise.c
           main.c util.c util/print.c
           flags.c commands.c laco.c)

add_executable(laco ${SOURCE})
target_link_libraries(laco ${LACO_LUA})

install(TARGETS laco
  RUNTIME DESTINATION bin)

set(DEPS_DIR "${laco_SOURCE_DIR}/deps")

include_directories("${laco_SOURCE_DIR}/src" "${DEPS_DIR}/linenoise")

set(SOURCE ${DEPS_DIR}/linenoise/linenoise.c
           main.c util.c util/print.c
           flags.c commands.c laco.c)

add_executable(laco ${SOURCE})
target_link_libraries(laco ${LACO_LUA})

install(TARGETS laco
  RUNTIME DESTINATION bin)

Add src directory in include paths
Add src directory in include paths

`util/print.c` was flipping out that it couldn't find `laco.h` but for
some reason it can find `util.h`. So I'm just adding it to keep the
compiler from complaining and build.
