mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-19 19:10:17 +00:00
Update amalgamate.py
This commit is contained in:
parent
05764225d7
commit
34e9595ec6
@ -149,7 +149,7 @@ write_file('amalgamated/pocketpy.h', merge_h_files())
|
|||||||
shutil.copy("src2/main.c", "amalgamated/main.c")
|
shutil.copy("src2/main.c", "amalgamated/main.c")
|
||||||
|
|
||||||
if sys.platform in ['linux', 'darwin']:
|
if sys.platform in ['linux', 'darwin']:
|
||||||
ok = os.system("clang -o main amalgamated/pocketpy.c amalgamated/main.c -O1 --std=c11 -lm -ldl")
|
ok = os.system("gcc -o main amalgamated/pocketpy.c amalgamated/main.c -O1 --std=c11 -lm -ldl")
|
||||||
if ok == 0:
|
if ok == 0:
|
||||||
print("Test build success!")
|
print("Test build success!")
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user