summaryrefslogtreecommitdiff
path: root/tests/projects/mdk/hello/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2021-10-26 23:27:19 +0800
committerruki <[email protected]>2021-10-26 23:27:19 +0800
commitdea09f243e33b43c8c8be40d8a471b4580db1de7 (patch)
tree86b3b01f70fb6285cbbec3f5b457a04235dd7f78 /tests/projects/mdk/hello/xmake.lua
parent80dd8e90c0eea596298463e521e64b27c4995a4d (diff)
improve armlink
Diffstat (limited to 'tests/projects/mdk/hello/xmake.lua')
-rw-r--r--tests/projects/mdk/hello/xmake.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/projects/mdk/hello/xmake.lua b/tests/projects/mdk/hello/xmake.lua
index 710e29bcf..97d640297 100644
--- a/tests/projects/mdk/hello/xmake.lua
+++ b/tests/projects/mdk/hello/xmake.lua
@@ -1,5 +1,11 @@
add_rules("mode.debug", "mode.release")
+
+target("foo")
+ add_rules("mdk.static")
+ add_files("src/foo/*.c")
+
target("hello")
+ add_deps("foo")
add_rules("mdk.console")
add_files("src/*.c", "src/*.s")
add_defines("__EVAL", "__MICROLIB")