summaryrefslogtreecommitdiff
path: root/tests/format/elf/Makefile
diff options
context:
space:
mode:
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)