11 lines
259 B
Bash
Executable file
11 lines
259 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 ftu ftu.c fstoken.c debugprint.c base64.c libblst.a |