11 lines
250 B
Bash
Executable file
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 |