libpandory/make.sh
2023-08-19 08:59:28 +02:00

7 lines
185 B
Bash
Executable file

#!/bin/sh
if [ ! -n "$CC" ]; then
CC="gcc"
fi
"$CC" -c -Wall -Werror -fpic libpandory.c
"$CC" -shared -o libpandory.so libpandory.o
"$CC" -L. -Wall -o libpandory-test main.c -lpandory