48 lines
677 B
Bash
Executable File
48 lines
677 B
Bash
Executable File
#!/bin/sh
|
|
|
|
git clean -xdf .
|
|
|
|
cc \
|
|
-I ../../include\
|
|
-DPLAN9PORT \
|
|
-O0 \
|
|
-c \
|
|
-g -ggdb \
|
|
-Wall \
|
|
-Wno-parentheses \
|
|
-Wno-missing-braces \
|
|
-Wno-switch \
|
|
-Wno-comment \
|
|
-Wno-sign-compare \
|
|
-Wno-unknown-pragmas \
|
|
-Wno-misleading-indentation \
|
|
-Wno-stringop-truncation \
|
|
-Wno-stringop-overflow \
|
|
-Wno-format-truncation \
|
|
-fno-omit-frame-pointer \
|
|
-fsigned-char \
|
|
-fcommon \
|
|
bbuffered.c\
|
|
bfildes.c\
|
|
bflush.c\
|
|
bgetc.c\
|
|
bgetrune.c\
|
|
bgetd.c\
|
|
binit.c\
|
|
boffset.c\
|
|
bprint.c\
|
|
bputc.c\
|
|
bputrune.c\
|
|
brdline.c\
|
|
brdstr.c\
|
|
bread.c\
|
|
bseek.c\
|
|
bvprint.c\
|
|
bwrite.c
|
|
|
|
mkdir -p $JEHANNE/hacking/lib/
|
|
ar rcs $JEHANNE/hacking/lib/libbio.a *.o
|
|
|
|
git clean -xdf .
|
|
|