Commit f680c6ad authored by Andrei Paskevich's avatar Andrei Paskevich
Browse files

move replay.ml from src/ide to src/why3replayer

This fixes the bug with .dep cleaning, when we don't build the IDE.

Also, can we merge the replayer into why3session already, please?
parent 589f0297
......@@ -393,7 +393,7 @@ endif
depend: src/main.dep
clean::
rm -f src/main.cm[iox] src/main.annot src/main.o
rm -f src/main.cm[iox] src/main.annot src/main.o src/main.dep
rm -f bin/why3.byte bin/why3.opt bin/why3
rm -f bin/why3ml.byte bin/why3ml.opt bin/why3ml
......@@ -564,14 +564,14 @@ endif
REPLAYER_FILES = replay
REPLAYERMODULES = $(addprefix src/ide/, $(REPLAYER_FILES))
REPLAYERMODULES = $(addprefix src/why3replayer/, $(REPLAYER_FILES))
REPLAYERDEP = $(addsuffix .dep, $(REPLAYERMODULES))
REPLAYERCMO = $(addsuffix .cmo, $(REPLAYERMODULES))
REPLAYERCMX = $(addsuffix .cmx, $(REPLAYERMODULES))
$(REPLAYERDEP): DEPFLAGS += -I src/ide
$(REPLAYERCMO) $(REPLAYERCMX): INCLUDES += -I src/ide
$(REPLAYERDEP): DEPFLAGS += -I src/why3replayer
$(REPLAYERCMO) $(REPLAYERCMX): INCLUDES += -I src/why3replayer
# build targets
......@@ -598,6 +598,8 @@ endif
depend: $(REPLAYERDEP)
clean::
rm -f src/why3replayer/*.cm[iox] src/why3replayer/*.o
rm -f src/why3replayer/*.annot src/why3replayer/*.dep src/why3replayer/*~
rm -f bin/why3replayer.byte bin/why3replayer.opt bin/why3replayer
install_no_local::
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment