diff --git a/examples/make.py b/examples/make.py deleted file mode 100755 index db5e3c140b7f3e454680fe6ca835ee575b2528da..0000000000000000000000000000000000000000 --- a/examples/make.py +++ /dev/null @@ -1,20 +0,0 @@ -import os, glob, subprocess, time, sys -script_path = os.path.dirname(os.path.realpath(__file__)); -for c_file in glob.glob(script_path + "/*/*.c", recursive=False): - if sys.platform != "linux" and sys.platform != "linux2" and "interop" in c_file: - print("Not Linux! skipping", c_file) - continue - print("compiling", c_file) - args = [ - "gcc", # compiler - "-std=c11", # C11 mode - "-Wl,-R./", # pass -R flag to linker: produce relocatable object - c_file, # input source file - "-o", # output flag - c_file[:-2], # output filename - "-L", # lib path flag - "./", # where to look for libs - "-lreowolf_rs" # add lib called "reowolf_rs" - ]; - subprocess.run(args) -input("Blocking until newline...");