mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 21:48:13 +00:00

Both types of functions are now Function and implement calling via: virtual Value call(Interpreter&, Vector<Value> arguments); This removes the need for CallExpression::execute() to care about which kind of function it's calling. :^)
26 lines
502 B
Makefile
26 lines
502 B
Makefile
OBJS = \
|
|
AST.o \
|
|
Cell.o \
|
|
Function.o \
|
|
GlobalObject.o \
|
|
Heap.o \
|
|
HeapBlock.o \
|
|
Interpreter.o \
|
|
Lexer.o \
|
|
NativeFunction.o \
|
|
Object.o \
|
|
Parser.o \
|
|
PrimitiveString.o \
|
|
ScriptFunction.o \
|
|
StringObject.o \
|
|
Token.o \
|
|
Value.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
|