aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorMike Pall <mike>2010-08-03 22:09:12 +0200
committerMike Pall <mike>2010-08-03 22:09:12 +0200
commit33ef1fa52405f1417d90a289eb2bd00c367e6195 (patch)
tree3aa501f343e458f1b9d05a02895c755043c4113e /src/Makefile
parenta6b7952f7e095883d9a277f26b844ae1c9248999 (diff)
downloadluajit-33ef1fa52405f1417d90a289eb2bd00c367e6195.tar.gz
luajit-33ef1fa52405f1417d90a289eb2bd00c367e6195.tar.bz2
luajit-33ef1fa52405f1417d90a289eb2bd00c367e6195.zip
Untangle some target dependencies.
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/Makefile b/src/Makefile
index 1142e480..ed5f0bf5 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -391,7 +391,10 @@ depend:
391 @test -f buildvm_x86.h || touch buildvm_x86.h 391 @test -f buildvm_x86.h || touch buildvm_x86.h
392 @test -f buildvm_x64.h || touch buildvm_x64.h 392 @test -f buildvm_x64.h || touch buildvm_x64.h
393 @test -f buildvm_x64win.h || touch buildvm_x64win.h 393 @test -f buildvm_x64win.h || touch buildvm_x64win.h
394 @$(HOST_CC) $(HOST_ACFLAGS) -MM *.c | sed "s|$(DASM_DIR)|\$$(DASM_DIR)|g" >Makefile.dep 394 @$(HOST_CC) $(HOST_ACFLAGS) -MM *.c | \
395 sed -e "s| [^ ]*/dasm_\S*\.h||g" \
396 -e "s| buildvm_\S*\.h||g" \
397 -e "s| lj_target_\S*\.h| lj_target_*.h|g" >Makefile.dep
395 @test -s lj_bcdef.h || $(HOST_RM) lj_bcdef.h 398 @test -s lj_bcdef.h || $(HOST_RM) lj_bcdef.h
396 @test -s lj_ffdef.h || $(HOST_RM) lj_ffdef.h 399 @test -s lj_ffdef.h || $(HOST_RM) lj_ffdef.h
397 @test -s lj_libdef.h || $(HOST_RM) lj_libdef.h 400 @test -s lj_libdef.h || $(HOST_RM) lj_libdef.h
@@ -419,7 +422,7 @@ buildvm_x64win.h: buildvm_x86.dasc
419 $(E) "DYNASM $@" 422 $(E) "DYNASM $@"
420 $(Q)$(DASM) $(DASM_FLAGS) $(DASM_FLAGS_X64WIN) -o $@ buildvm_x86.dasc 423 $(Q)$(DASM) $(DASM_FLAGS) $(DASM_FLAGS_X64WIN) -o $@ buildvm_x86.dasc
421 424
422buildvm.o: buildvm_x86.h buildvm_x64.h buildvm_x64win.h 425buildvm.o: buildvm_x86.h buildvm_x64.h buildvm_x64win.h $(DASM_DIR)/dasm_*.h
423 426
424$(BUILDVM_T): $(BUILDVM_O) 427$(BUILDVM_T): $(BUILDVM_O)
425 $(E) "HOSTLINK $@" 428 $(E) "HOSTLINK $@"