From b1a912a8a6ff472a49b2e0a09cfd433adfc2cb24 Mon Sep 17 00:00:00 2001 From: Benji Dial Date: Sat, 18 May 2024 21:53:38 -0400 Subject: reorganization, cross compiler --- applications/init/makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 applications/init/makefile (limited to 'applications/init/makefile') diff --git a/applications/init/makefile b/applications/init/makefile new file mode 100644 index 0000000..6799406 --- /dev/null +++ b/applications/init/makefile @@ -0,0 +1,12 @@ +SOURCES = \ + main.cpp + +build/%.cpp.o: source/%.cpp + @mkdir -p $(@D) + $(HILBERT_CC) -c $^ -o $@ + +build/init.elf: $(SOURCES:%=build/%.o) + $(HILBERT_CC) $^ -ldaguerre -o $@ + +clean: + rm -rf build -- cgit v1.2.3