summaryrefslogtreecommitdiffhomepage
path: root/project
diff options
context:
space:
mode:
Diffstat (limited to 'project')
-rw-r--r--project/arch.mk3
-rwxr-xr-xproject/clbuild.sh21
2 files changed, 21 insertions, 3 deletions
diff --git a/project/arch.mk b/project/arch.mk
index e69de29..00a9cfd 100644
--- a/project/arch.mk
+++ b/project/arch.mk
@@ -0,0 +1,3 @@
+shared-objs-asm:
+
+static-objs-asm:
diff --git a/project/clbuild.sh b/project/clbuild.sh
index e22610a..cdb2229 100755
--- a/project/clbuild.sh
+++ b/project/clbuild.sh
@@ -79,7 +79,22 @@ echo
echo "$cmd_abort_on_error"
echo
-# five: build objects
+# five: compile assembly sources
+make shared-objs-asm static-objs-asm \
+ | grep -v 'make\[1\]:' \
+ | grep -v "$mb_project_dir/sysinfo/host" \
+ | grep -v 'touch dirs.tag' \
+ | grep -v 'touch host.tag' \
+ | grep -v 'touch version.tag' \
+ | grep -v 'touch app.tag' \
+ | sed \
+ -e 's@'"$mb_cc -c "'@ml64 /nologo @' \
+ -e 's@ '"$mb_source_dir"'@ /c %source_dir%@' \
+ -e 's@-o @/Fo @g' \
+ -e 's@\.s@\.asm@g' \
+ -e 's,$,\n\n'"$cmd_abort_on_error"'\n,g'
+
+# six: compile C sources
make shared-objs static-objs app-objs \
| grep -v 'make\[1\]:' \
| grep -v "$mb_project_dir/sysinfo/host" \
@@ -120,7 +135,7 @@ echo '@echo clbuild: successfully built: shared-objs static-objs app-objs.'
echo '@echo.'
echo
-# six: create static archive
+# seven: create static archive
make static \
| grep -v 'make\[1\]:' \
| grep -v "rm -f " \
@@ -138,7 +153,7 @@ echo '@echo clbuild: successfully created: static archive.'
echo '@echo.'
echo
-# seven: link shared library
+# eight: link shared library
make LDFLAGS_IMPLIB= LDFLAGS_SONAME= shared-lib \
| grep -v 'make\[1\]:' \
| sed \