ref: ce5bb49bd8b40a0cffc3de15660abe74582f0dbd
parent: 12296450a3b10aae1df092c5f0a4d0891fe421e0
author: Ori Bernstein <ori@eigenstate.org>
date: Wed Mar 4 05:12:34 EST 2015
Fix new builds. - mbld doesn't need the files passed on the command line. - the system specific myr files should be listed in the makefile.
--- a/libstd/Makefile
+++ b/libstd/Makefile
@@ -66,6 +66,7 @@
strsplit.myr \
strstrip.myr \
syswrap.myr \
+ syswrap-ss.myr \
swap.myr \
try.myr \
types.myr \
@@ -79,6 +80,9 @@
all: lib$(STDLIB).a $(MYRBIN)
%.myr: %+$(SYSCLASS)-$(ARCH).myr
+ cp $< $@
+
+%.myr: %+$(SYSCLASS)-$(SYS).myr
cp $< $@
%.myr: %+$(SYSCLASS).myr
--- a/libstd/build.sh
+++ b/libstd/build.sh
@@ -3,6 +3,6 @@
if [ -z "`which mbld`" ]; then
../myrbuild/myrbuild -I. -C$MYR_MC -M$MYR_MUSE $@
else
- mbld $@
+ mbld
fi