cdo: init project
This commit is contained in:
parent
518ad052d9
commit
b1371f7ed9
3
.gitignore
vendored
3
.gitignore
vendored
@ -52,3 +52,6 @@ Module.symvers
|
||||
Mkfile.old
|
||||
dkms.conf
|
||||
|
||||
# Build folder
|
||||
build/
|
||||
|
||||
|
||||
13
build.sh
Executable file
13
build.sh
Executable file
@ -0,0 +1,13 @@
|
||||
#! /bin/sh
|
||||
|
||||
set -xe
|
||||
|
||||
CC="gcc"
|
||||
FLAGS="-Wall -Wpedantic"
|
||||
SRCS="cdo.c"
|
||||
CURRENT_DIR="$(git rev-parse --show-toplevel)"
|
||||
BUILD_DIR="${CURRENT_DIR}/build"
|
||||
|
||||
mkdir -p ${BUILD_DIR}
|
||||
|
||||
${CC} ${FLAGS} -o ${BUILD_DIR}/cdo ${SRCS}
|
||||
Loading…
x
Reference in New Issue
Block a user