mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 19:38:12 +00:00

This function is ultimately supposed to be generic and allow any |this| that has a length property, but for now it only works on our own Array object type.
33 lines
782 B
Makefile
33 lines
782 B
Makefile
OBJS = \
|
|
AST.o \
|
|
Heap/Handle.o \
|
|
Heap/Heap.o \
|
|
Heap/HeapBlock.o \
|
|
Interpreter.o \
|
|
Lexer.o \
|
|
Parser.o \
|
|
Runtime/Array.o \
|
|
Runtime/ArrayPrototype.o \
|
|
Runtime/Cell.o \
|
|
Runtime/ConsoleObject.o \
|
|
Runtime/Function.o \
|
|
Runtime/GlobalObject.o \
|
|
Runtime/NativeFunction.o \
|
|
Runtime/NativeProperty.o \
|
|
Runtime/Object.o \
|
|
Runtime/ObjectPrototype.o \
|
|
Runtime/PrimitiveString.o \
|
|
Runtime/ScriptFunction.o \
|
|
Runtime/StringObject.o \
|
|
Runtime/StringPrototype.o \
|
|
Runtime/Value.o \
|
|
Token.o
|
|
|
|
LIBRARY = libjs.a
|
|
|
|
install:
|
|
mkdir -p $(SERENITY_BASE_DIR)/Root/usr/include/LibJS/
|
|
cp *.h $(SERENITY_BASE_DIR)/Root/usr/include/LibJS/
|
|
cp $(LIBRARY) $(SERENITY_BASE_DIR)/Root/usr/lib/
|
|
|
|
include ../../Makefile.common
|