1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 03:27:44 +00:00
serenity/Libraries/LibJS/Makefile
Andreas Kling 2c5b9fb8f9 LibJS: Add StringPrototype and make it the prototype of StringObject
This patch adds String.prototype.charAt() to demonstrate that prototype
property lookup works, and that you can call a prototype function on an
object, and it will do what you expect. :^)
2020-03-15 15:02:49 +01:00

27 lines
526 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 \
StringPrototype.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