summaryrefslogtreecommitdiff
path: root/mips/Makefile
diff options
context:
space:
mode:
authorKathy Gray2015-12-17 16:48:54 +0000
committerKathy Gray2015-12-17 16:48:54 +0000
commitf7a642bd3f8a5436873d0163114a30dad23ba9c2 (patch)
tree64a4fda4cd0ddd6e8af9521aaeda9cadf8919828 /mips/Makefile
parent0b940fb7c599e2e47cc21a2708d4cae13cb1d934 (diff)
Remove external functions that the library provides, having added them to the type environment finally.
(Also small cleaning of the new makefile)
Diffstat (limited to 'mips/Makefile')
-rw-r--r--mips/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/mips/Makefile b/mips/Makefile
index f8417c67..7bd20737 100644
--- a/mips/Makefile
+++ b/mips/Makefile
@@ -15,9 +15,9 @@ endif
# the order of the files is important
MIPSSOURCES= mips.sail
-all: $(BUILDDIR)/mips.ml $(BUILDDIR)/mips_extras.ml
+all: $(BUILDDIR)mips.ml $(BUILDDIR)mips_extras.ml
-lem: $(BUILDDIR)/mips.lem
+lem: $(BUILDDIR)mips.lem
# this will force build everything, including the tools
full:
@@ -38,7 +38,7 @@ $(LEM):
$(BUILDDIR):
mkdir -p $@
-$(BUILDDIR)/mips.lem: $(MIPSSOURCES) $(SAIL) | $(BUILDDIR)
+$(BUILDDIR)mips.lem: $(MIPSSOURCES) $(SAIL) | $(BUILDDIR)
# if bash is detected we can print nicer errors
ifeq ($(SHELL),/bin/bash)
# the test at the end is so we return the exit code of sail and not parse_sail.sh
@@ -49,13 +49,13 @@ endif
# sail uses the name of the first file on the list
@mv $(<:.sail=.lem) $(BUILDDIR)mips.lem
-$(BUILDDIR)/mips.ml: $(BUILDDIR)mips.lem $(LEM)
+$(BUILDDIR)mips.ml: $(BUILDDIR)mips.lem $(LEM)
$(LEM) -ocaml -only_changed_output -lib $(SAILDIR)/src/lem_interp/ $<
# FIXME: lem bug, does not change modification time
touch $@
-$(BUILDDIR)/mips_extras.ml: $(BUILDDIR)mips_extras.lem $(LEM)
- cp mips_extras.lem $<
+$(BUILDDIR)mips_extras.ml:
+ cp mips_extras.lem $@
$(LEM) -ocaml -only_changed_output -lib $(SAILDIR)/src/lem_interp/ $<
touch $@