reorganized files
This commit is contained in:
@@ -14,15 +14,16 @@ gcc -c src/utils/promise.c -o temp/utils/promise.o $FLAGS
|
||||
gcc -c src/utils/bucketlist.c -o temp/utils/bucketlist.o $FLAGS
|
||||
|
||||
mkdir temp/objects
|
||||
gcc -c src/objects/heap.c -o temp/objects/heap.o $FLAGS
|
||||
gcc -c src/objects/o_int.c -o temp/objects/o_int.o $FLAGS
|
||||
gcc -c src/objects/o_map.c -o temp/objects/o_map.o $FLAGS
|
||||
gcc -c src/objects/o_list.c -o temp/objects/o_list.o $FLAGS
|
||||
gcc -c src/objects/o_none.c -o temp/objects/o_none.o $FLAGS
|
||||
gcc -c src/objects/o_bool.c -o temp/objects/o_bool.o $FLAGS
|
||||
gcc -c src/objects/o_float.c -o temp/objects/o_float.o $FLAGS
|
||||
gcc -c src/objects/o_string.c -o temp/objects/o_string.o $FLAGS
|
||||
gcc -c src/objects/objects.c -o temp/objects/objects.o $FLAGS
|
||||
gcc -c src/objects/heap.c -o temp/objects/heap.o $FLAGS
|
||||
gcc -c src/objects/o_int.c -o temp/objects/o_int.o $FLAGS
|
||||
gcc -c src/objects/o_map.c -o temp/objects/o_map.o $FLAGS
|
||||
gcc -c src/objects/o_list.c -o temp/objects/o_list.o $FLAGS
|
||||
gcc -c src/objects/o_none.c -o temp/objects/o_none.o $FLAGS
|
||||
gcc -c src/objects/o_bool.c -o temp/objects/o_bool.o $FLAGS
|
||||
gcc -c src/objects/o_float.c -o temp/objects/o_float.o $FLAGS
|
||||
gcc -c src/objects/o_string.c -o temp/objects/o_string.o $FLAGS
|
||||
gcc -c src/objects/o_closure.c -o temp/objects/o_closure.o $FLAGS
|
||||
gcc -c src/objects/objects.c -o temp/objects/objects.o $FLAGS
|
||||
|
||||
mkdir temp/compiler
|
||||
gcc -c src/compiler/parse.c -o temp/compiler/parse.o $FLAGS
|
||||
@@ -35,11 +36,11 @@ gcc -c src/common/executable.c -o temp/common/executable.o $FLAGS
|
||||
mkdir temp/runtime
|
||||
gcc -c src/runtime/runtime_error.c -o temp/runtime/runtime_error.o $FLAGS
|
||||
gcc -c src/runtime/runtime.c -o temp/runtime/runtime.o $FLAGS
|
||||
gcc -c src/runtime/o_builtins.c -o temp/runtime/o_builtins.o $FLAGS
|
||||
gcc -c src/runtime/o_closure.c -o temp/runtime/o_closure.o $FLAGS
|
||||
gcc -c src/runtime/o_nfunc.c -o temp/runtime/o_nfunc.o $FLAGS
|
||||
gcc -c src/runtime/o_func.c -o temp/runtime/o_func.o $FLAGS
|
||||
|
||||
gcc -c src/o_builtins.c -o temp/o_builtins.o $FLAGS
|
||||
|
||||
rm -rf build
|
||||
mkdir build
|
||||
|
||||
@@ -68,7 +69,9 @@ ar rcs build/libnoja-runtime.a \
|
||||
gcc tests/src/test-parse.c -o build/test-parse $FLAGS -Lbuild/ -lnoja-compile -lxjson
|
||||
gcc tests/src/test-objects.c -o build/test-objects $FLAGS -Lbuild/ -lnoja-objects
|
||||
|
||||
gcc src/main.c src/debug.c \
|
||||
gcc src/main.c \
|
||||
src/debug.c \
|
||||
temp/o_builtins.o \
|
||||
temp/utils/hash.o \
|
||||
temp/utils/stack.o \
|
||||
temp/utils/source.o \
|
||||
@@ -79,10 +82,9 @@ gcc src/main.c src/debug.c \
|
||||
temp/objects/o_list.o \
|
||||
temp/objects/o_bool.o \
|
||||
temp/objects/o_string.o \
|
||||
temp/objects/o_closure.o \
|
||||
temp/runtime/runtime.o \
|
||||
temp/runtime/runtime_error.o \
|
||||
temp/runtime/o_builtins.o \
|
||||
temp/runtime/o_closure.o \
|
||||
temp/runtime/o_nfunc.o \
|
||||
temp/runtime/o_func.o \
|
||||
temp/common/executable.o \
|
||||
|
||||
Reference in New Issue
Block a user