summaryrefslogtreecommitdiff
path: root/tests/format/elf/Makefile
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2015-11-04 22:02:31 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2015-11-04 22:02:31 (GMT)
commit4bafbf79e8143941d744c9c47e6fc9216fcec47a (patch)
treee0dc679daaa255d289c84ab0630e42256ab7a58c /tests/format/elf/Makefile
parent72da49fdf05285169a9465b34f7869dafc4715ec (diff)
Fixed some bugs and defined some first test cases.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@604 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'tests/format/elf/Makefile')
-rw-r--r--tests/format/elf/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/format/elf/Makefile b/tests/format/elf/Makefile
new file mode 100644
index 0000000..b14ff47
--- /dev/null
+++ b/tests/format/elf/Makefile
@@ -0,0 +1,16 @@
+
+EXECUTABLES=tiny oob_section_name
+
+all: $(EXECUTABLES)
+
+tiny: tiny.o
+ $(ARM_CROSS)objcopy $< -O binary $@
+
+oob_section_name: oob_section_name.o
+ $(ARM_CROSS)objcopy $< -O binary $@
+
+%.o: %.asm
+ $(ARM_CROSS)as -c $< -o $@
+
+clean:
+ rm -f *.o $(EXECUTABLES)