set(SOURCES main.cpp sh.h builtin/cd.cpp builtin/exit.cpp builtin/set.cpp builtin/unset.cpp ) add_executable(sh ${SOURCES}) target_compile_options(sh PRIVATE -Os ${COMMON_FLAGS} -Wno-write-strings) add_dependencies(sh libc) target_include_directories(sh PRIVATE ${LUNA_BASE}/usr/include ${CMAKE_CURRENT_LIST_DIR}) target_link_libraries(sh PRIVATE os) install(TARGETS sh DESTINATION ${LUNA_BASE}/usr/bin)