summaryrefslogtreecommitdiff
path: root/tools/omar/Makefile
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-11-21 20:13:30 -0500
committerIan Moffett <ian@osmora.org>2025-11-21 20:27:16 -0500
commitcf25483e154ae1d5e9685a6087ba51642e4326c5 (patch)
tree5482e7758f16de9d8720ba93ab58fd9aaa4c3273 /tools/omar/Makefile
parent19dd8c0a288d25d78a43f0bfbe884a8a3fc86e56 (diff)
build: Build initramfs with OMAR
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'tools/omar/Makefile')
-rw-r--r--tools/omar/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/omar/Makefile b/tools/omar/Makefile
new file mode 100644
index 0000000..ee30260
--- /dev/null
+++ b/tools/omar/Makefile
@@ -0,0 +1,12 @@
+CFILES = $(shell find . -name "*.c")
+CFLAGS = -pedantic
+CC = gcc
+
+.PHONY: all
+all:
+ mkdir -p bin/
+ $(CC) $(CFLAGS) $(CFILES) -o bin/omar
+
+.PHONY: clean
+clean:
+ rm -rf bin/