mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-08-06 09:50:28 +00:00
Fix distribute.sh script to generate cosmopolitan.h
This commit is contained in:
parent
5ffeaa8e33
commit
b099a5a778
1 changed files with 3 additions and 3 deletions
|
@ -1,8 +1,8 @@
|
|||
#!/bin/sh
|
||||
set -ex
|
||||
|
||||
rm -f o/ansi/.cosmopolitan.h o/ansi/cosmopolitan.h
|
||||
make -j12 o/ansi/cosmopolitan.h MODE=ansi
|
||||
rm -f o/.cosmopolitan.h o/cosmopolitan.h
|
||||
make -j12 o/cosmopolitan.h
|
||||
make -j12 o//libc/crt/crt.o o//ape/ape.o o//ape/ape.lds
|
||||
make -j12 o//cosmopolitan.a
|
||||
|
||||
|
@ -19,7 +19,7 @@ cp o//ape/ape.o \
|
|||
echo '#ifdef __cplusplus'
|
||||
echo 'extern "C" {'
|
||||
echo '#endif'
|
||||
cat o/ansi/cosmopolitan.h
|
||||
cat o/cosmopolitan.h
|
||||
echo '#ifdef __cplusplus'
|
||||
echo '} /* extern C */'
|
||||
echo '#endif'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue