summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a8cae07..59fd831 100644
--- a/Makefile
+++ b/Makefile
@@ -66,12 +66,19 @@ QEMU_AARCH64 = $(QEMU_BUILDDIR)/qemu-aarch64 $(USRGDB)
QEMU_SYSTEM_ARM = $(SYSTIMEOUT) $(QEMU_BUILDDIR)/qemu-system-arm $(SYSGDB)
QEMU_SYSTEM_AARCH64 = $(SYSTIMEOUT) $(QEMU_BUILDDIR)/qemu-system-aarch64 $(SYSGDB)
-all: usertest-a32 usertest-a64 usertest-t32 \
+BINS = usertest-a32 usertest-t32 \
+ usertest-a32-hlt usertest-t32-hlt \
+ usertest-a64 \
systest-a32.axf systest-t32.axf \
systest-a32-hlt.axf systest-t32-hlt.axf \
systest-t32-bkpt.axf \
systest-a64.axf
+all: $(BINS)
+
+clean:
+ rm -rf $(BINS)
+
usertest-srcs = usertest.c semihosting.c semicall.S printf/printf.c
systest-srcs = start.S string.c $(usertest-srcs)