libpandory/make.sh
2023-12-20 11:23:47 +01: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