diff --git a/CMakeLists.txt b/CMakeLists.txt index 4eaea8b..29ac814 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,6 @@ cmake_minimum_required(VERSION 3.0.0) project(base16384 VERSION 2.0) SET(CMAKE_BUILD_TYPE "Release") -set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -march=native") add_executable(base16384 base16384.c) diff --git a/README.md b/README.md index 8987e19..05d3ceb 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,15 @@ Save more space and since the code 0x0000 is encoded to "一", finding zero spac ## Usage 使用说明 +### Install from my PPA in Ubuntu 直接安装 +```bash +sudo add-apt-repository ppa:fumiama/ppa +sudo apt-get update +sudo apt-get install base16384 +``` + +### Build from source code 编译 + Clone this repo first. 首先克隆该仓库。