1
0
mirror of https://github.com/aolofsson/oh.git synced 2025-01-17 20:02:53 +08:00
oh/elink/sw/build.sh
Andreas Olofsson 9feaa36dce Refactoring and adding some tests
- "infinite loop test"
- separating out common elink functions
-
2015-11-11 05:32:06 +00:00

19 lines
286 B
Bash
Executable File

#!/bin/bash
set -e
EINCS=../include
SCRIPT=$(readlink -f "$0")
EXEPATH=$(dirname "$SCRIPT")
cd $EXEPATH
# Create the binaries directory
mkdir -p bin
# Build all tests
gcc src/e-access.c src/elink.c -o bin/e-access -I ${EINCS}
gcc src/loop.c src/elink.c -o bin/loop -I ${EINCS}