From 5c40e61a6035315d4341ed508171bf68f3bc1955 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Wed, 17 Sep 2025 15:03:22 -0400 Subject: build: Add test program to src/cmd/ Add a testing program for ELF loading purposes. This is to be removed in later versions of Lunos Signed-off-by: Ian Moffett --- src/cmd/Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/cmd/Makefile (limited to 'src/cmd/Makefile') diff --git a/src/cmd/Makefile b/src/cmd/Makefile new file mode 100644 index 0000000..2d1c7f8 --- /dev/null +++ b/src/cmd/Makefile @@ -0,0 +1,10 @@ +LDSCRIPT=../../sys/arch/$(TARGET)/conf/user.ld + +.PHONY: all +all: + cd test/; LDSCRIPT=$(LDSCRIPT) CC=$(CC) ASM=$(ASM) \ + LD=$(ASM) SYSROOT=$(SYSROOT) make + +.PHONY: clean +clean: + cd test/; make clean -- cgit v1.2.3