about summary refs log tree commit diff stats
path: root/linux
diff options
context:
space:
mode:
Diffstat (limited to 'linux')
-rw-r--r--linux/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/linux/Makefile b/linux/Makefile
index 78fe025..8f65af8 100644
--- a/linux/Makefile
+++ b/linux/Makefile
@@ -14,6 +14,12 @@ CC?= gcc
 
 all: xxxterm
 
+javascript.h: ../js-merge-helper.pl ../hinting.js
+	perl ../js-merge-helper.pl ../hinting.js \
+		../input-focus.js > javascript.h
+
+xxxterm.o: javascript.h
+
 xxxterm: ../xxxterm.o linux.o
 	$(CC) $(LDFLAGS) -o $@ $+ $(LDADD)
 
@@ -26,5 +32,6 @@ install: all
 
 clean:
 	rm -f xxxterm *.o
+	rm -f javascript.h
 
 .PHONY: all install clean