summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorMike Pall <mike>2013-02-22 01:40:41 +0100
committerMike Pall <mike>2013-02-22 01:40:41 +0100
commite20157c6e68472e7c4d82d9ed4c0bb5be029c388 (patch)
treeb26bfadc10b7301d73b84293630c44e7d1fb37f9 /src/Makefile
parentc3219b7d177f6722b9de808cfd3d3dbfc6808e6f (diff)
downloadluajit-e20157c6e68472e7c4d82d9ed4c0bb5be029c388.tar.gz
luajit-e20157c6e68472e7c4d82d9ed4c0bb5be029c388.tar.bz2
luajit-e20157c6e68472e7c4d82d9ed4c0bb5be029c388.zip
Add support for embedding LuaJIT bytecode for builtins.
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index 4ea8c85e..f3631a0d 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -558,6 +558,10 @@ amalg:
558clean: 558clean:
559 $(HOST_RM) $(ALL_RM) 559 $(HOST_RM) $(ALL_RM)
560 560
561libbc:
562 ./$(LUAJIT_T) host/genlibbc.lua $(LJLIB_C) >host/buildvm_libbc.h
563 $(MAKE) all
564
561depend: 565depend:
562 @for file in $(ALL_HDRGEN); do \ 566 @for file in $(ALL_HDRGEN); do \
563 test -f $$file || touch $$file; \ 567 test -f $$file || touch $$file; \
@@ -572,7 +576,7 @@ depend:
572 test -s $$file || $(HOST_RM) $$file; \ 576 test -s $$file || $(HOST_RM) $$file; \
573 done 577 done
574 578
575.PHONY: default all amalg clean depend 579.PHONY: default all amalg clean libbc depend
576 580
577############################################################################## 581##############################################################################
578# Rules for generated files. 582# Rules for generated files.