1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 21:48:13 +00:00
serenity/Libraries/LibJS/Makefile
Andreas Kling d9c7009604 LibJS: Split Function into subclasses NativeFunction and ScriptFunction
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. :^)
2020-03-13 11:08:16 +01:00

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