summaryrefslogtreecommitdiff
path: root/Makefile.sources
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.sources')
-rw-r--r--Makefile.sources3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.sources b/Makefile.sources
index 96bbdb6fa..0d7eb865f 100644
--- a/Makefile.sources
+++ b/Makefile.sources
@@ -29,7 +29,8 @@ S_DESKTOP := cookies.c history_global_core.c hotlist.c knockout.c \
# Javascript sources
ifeq ($(NETSURF_USE_JS),YES)
-S_JAVASCRIPT += jsapi.c jsapi/global.c content.c
+S_JSAPI = window.c document.c console.c
+S_JAVASCRIPT += content.c jsapi.c $(addprefix jsapi/,$(S_JSAPI))
else
S_JAVASCRIPT += none.c
endif