aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Makefile6
-rw-r--r--src/Makefile.dep6
2 files changed, 9 insertions, 3 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.
diff --git a/src/Makefile.dep b/src/Makefile.dep
index 5d91723a..54004f7c 100644
--- a/src/Makefile.dep
+++ b/src/Makefile.dep
@@ -124,7 +124,8 @@ lj_lex.o: lj_lex.c lj_obj.h lua.h luaconf.h lj_def.h lj_arch.h lj_gc.h \
124 lj_state.h lj_lex.h lj_parse.h lj_char.h lj_strscan.h 124 lj_state.h lj_lex.h lj_parse.h lj_char.h lj_strscan.h
125lj_lib.o: lj_lib.c lauxlib.h lua.h luaconf.h lj_obj.h lj_def.h lj_arch.h \ 125lj_lib.o: lj_lib.c lauxlib.h lua.h luaconf.h lj_obj.h lj_def.h lj_arch.h \
126 lj_gc.h lj_err.h lj_errmsg.h lj_str.h lj_tab.h lj_func.h lj_bc.h \ 126 lj_gc.h lj_err.h lj_errmsg.h lj_str.h lj_tab.h lj_func.h lj_bc.h \
127 lj_dispatch.h lj_jit.h lj_ir.h lj_vm.h lj_strscan.h lj_lib.h 127 lj_dispatch.h lj_jit.h lj_ir.h lj_vm.h lj_strscan.h lj_lex.h lj_bcdump.h \
128 lj_lib.h
128lj_load.o: lj_load.c lua.h luaconf.h lauxlib.h lj_obj.h lj_def.h \ 129lj_load.o: lj_load.c lua.h luaconf.h lauxlib.h lj_obj.h lj_def.h \
129 lj_arch.h lj_gc.h lj_err.h lj_errmsg.h lj_str.h lj_func.h lj_frame.h \ 130 lj_arch.h lj_gc.h lj_err.h lj_errmsg.h lj_str.h lj_func.h lj_frame.h \
130 lj_bc.h lj_vm.h lj_lex.h lj_bcdump.h lj_parse.h 131 lj_bc.h lj_vm.h lj_lex.h lj_bcdump.h lj_parse.h
@@ -220,7 +221,8 @@ host/buildvm_asm.o: host/buildvm_asm.c host/buildvm.h lj_def.h lua.h luaconf.h \
220host/buildvm_fold.o: host/buildvm_fold.c host/buildvm.h lj_def.h lua.h \ 221host/buildvm_fold.o: host/buildvm_fold.c host/buildvm.h lj_def.h lua.h \
221 luaconf.h lj_arch.h lj_obj.h lj_def.h lj_arch.h lj_ir.h lj_obj.h 222 luaconf.h lj_arch.h lj_obj.h lj_def.h lj_arch.h lj_ir.h lj_obj.h
222host/buildvm_lib.o: host/buildvm_lib.c host/buildvm.h lj_def.h lua.h luaconf.h \ 223host/buildvm_lib.o: host/buildvm_lib.c host/buildvm.h lj_def.h lua.h luaconf.h \
223 lj_arch.h lj_obj.h lj_def.h lj_arch.h lj_lib.h lj_obj.h 224 lj_arch.h lj_obj.h lj_def.h lj_arch.h lj_lib.h lj_obj.h \
225 host/buildvm_libbc.h
224host/buildvm_peobj.o: host/buildvm_peobj.c host/buildvm.h lj_def.h lua.h \ 226host/buildvm_peobj.o: host/buildvm_peobj.c host/buildvm.h lj_def.h lua.h \
225 luaconf.h lj_arch.h lj_bc.h lj_def.h lj_arch.h 227 luaconf.h lj_arch.h lj_bc.h lj_def.h lj_arch.h
226host/minilua.o: host/minilua.c 228host/minilua.o: host/minilua.c