1
0
mirror of https://github.com/aolofsson/oh.git synced 2025-01-30 02:32:53 +08:00
oh/elink/sw/build.sh
aolofsson 289024fd89 Flattening directory tree (again)
- Creating an arbitrary 'src' directory really doesn't help much...
- Goal is to make each folder self contained
- Make meta repos and individual repos have the same directory structure
2022-06-21 14:48:48 -04: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}