From f463d544793ff83efd8b95d0bce5ec80fd8170f3 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Wed, 4 Dec 2024 21:42:37 +0100 Subject: Remove old test code MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit There is some code that I had there after messing with some of the topics on Uros' blog (https://popovicu.com/), but that became irrelevant after working on some other projects (e.g. fbos) or on other examples. This commit also brings about a major overhaul on the structure of the project. Hopefully it's now at a more ready state. Signed-off-by: Miquel Sabaté Solà --- arch/riscv/user/basics/Makefile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 arch/riscv/user/basics/Makefile (limited to 'arch/riscv/user/basics/Makefile') diff --git a/arch/riscv/user/basics/Makefile b/arch/riscv/user/basics/Makefile new file mode 100644 index 0000000..b4752a3 --- /dev/null +++ b/arch/riscv/user/basics/Makefile @@ -0,0 +1,19 @@ +CC = $(CROSS_COMPILE)gcc +CCFLAGS = +EXE = basics + +DEBUG = +ifneq ($(strip $(DEBUG)),) + CCFLAGS += -g +endif + +.PHONY: all +all: clean $(EXE) + +.PHONY: $(EXE) +$(EXE): + $(CC) $(CCFLAGS) -o $(EXE) basics.c factorial.S string.S float.S + +.PHONY: clean +clean: + @rm -f $(EXE) -- cgit v1.2.3