Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Properly keep track of main.o dependencies

  • Loading branch information...
commit 36c4355fd68e7a81a6e53aadf43a80ccc340c0e5 1 parent 9925bb4
@nominolo authored
Showing with 4 additions and 2 deletions.
  1. +4 −2 Makefile.in
View
6 Makefile.in
@@ -156,6 +156,8 @@ VM_SRCS = vm/thread.cc vm/capability.cc vm/memorymanager.cc \
vm/machinecode.cc vm/assembler.cc vm/ir.cc vm/ir_fold.cc \
vm/time.cc
+VM_SRCS_ALL = $(VM_SRCS) vm/main.cc
+
TEST_FILES := tests/Bc/Bc0016.lcbc tests/Bc/Bc0014.lcbc \
tests/Bc/Bc0017.lcbc \
tests/Bc/TailCallExact.lcbc tests/Bc/TailCallOverapply.lcbc \
@@ -357,7 +359,7 @@ bench-ghc/%: tests/Bench/%.hs
@mkdir -p bench-ghc
$(HC) -O2 -fforce-recomp -DBENCH_GHC $(BENCH_HC_OPTS) -rtsopts -o $@ $<
--include $(SRCS:%.c=$(DEPDIR)/%.P)
+# -include $(SRCS:%.c=$(DEPDIR)/%.P)
-include $(UTILSRCS:%.cc=$(DEPDIR)/%.P)
-include $(DEPDIR)/vm/unittest.P
--include $(VM_SRCS:%.cc=$(DEPDIR)/%.P)
+-include $(VM_SRCS_ALL:%.cc=$(DEPDIR)/%.P)
Please sign in to comment.
Something went wrong with that request. Please try again.