diff options
author | Ori Bernstein <ori@eigenstate.org> | 2015-04-13 02:40:53 -0700 |
---|---|---|
committer | Ori Bernstein <ori@eigenstate.org> | 2015-04-13 02:40:53 -0700 |
commit | 7c2af9ba95de750ea845be0fb61a691abe78d01a (patch) | |
tree | 12984c03975df8d6cdb15b12387ca24ba7a12a53 /mbld | |
parent | 94ffd40ef6f96936a83fcbf669e7fef5c8f48498 (diff) | |
download | mc-7c2af9ba95de750ea845be0fb61a691abe78d01a.tar.gz |
Generate config.myr from ./configure
Diffstat (limited to 'mbld')
-rw-r--r-- | mbld/bldfile | 2 | ||||
-rwxr-xr-x | mbld/configure | 9 |
2 files changed, 1 insertions, 10 deletions
diff --git a/mbld/bldfile b/mbld/bldfile index 1577322..4137876 100644 --- a/mbld/bldfile +++ b/mbld/bldfile @@ -24,7 +24,7 @@ bin mbld = lib ../libregex:regex ;; -gen config.myr {durable} = ./configure ;; +gen config.myr {durable} = ../configure ;; man = mbld.1;; diff --git a/mbld/configure b/mbld/configure index d7b2227..14f74f9 100755 --- a/mbld/configure +++ b/mbld/configure @@ -34,15 +34,6 @@ OS=`uname` echo export INST_ROOT=$prefix > config.mk -echo "pkg config = " > config.myr -echo "const Instroot = \"$prefix\"" >> config.myr -echo "const Objsuffix = \".o\"" >> config.myr -echo "const Linkcmd = [\"ld\", \"-o\"]" >> config.myr -echo "const Arcmd = [\"ar\", \"-rcs\"]" >> config.myr -echo "const Ascmd = [\"as\", \"-g\"]" >> config.myr -echo "const Directlib = false" >> config.myr -echo "const Runtime = \"_myrrt.o\"" >> config.myr -echo "const Manpath = \"share/man/man\"" >> config.myr case $OS in *Linux*) echo 'export SYS=linux' >> config.mk |