ftu/build.sh
2022-09-09 02:47:49 -04:00

11 lines
250 B
Bash
Executable file

#!/bin/bash
CFLAGS=${CFLAGS:--O -fno-builtin -fPIC -Wall -Wextra}
CC=gcc
AR=ar
${CC} ${CFLAGS} -c blst/server.c
${CC} ${CFLAGS} -c blst/assembly.S
${AR} rc libblst.a server.o assembly.o
${CC} ${CFLAGS} -o ctm ctm.c fstoken.c debugprint.c libblst.a