mirror of
https://github.com/aolofsson/oh.git
synced 2025-01-17 20:02:53 +08:00
9feaa36dce
- "infinite loop test" - separating out common elink functions -
19 lines
286 B
Bash
Executable File
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}
|
|
|
|
|
|
|