aboutsummaryrefslogtreecommitdiff
path: root/boot/cmd/Makefile
diff options
context:
space:
mode:
authorThomas Albers Raviola <thomas@thomaslabs.org>2025-02-12 01:27:44 +0100
committerThomas Albers Raviola <thomas@thomaslabs.org>2025-02-12 01:27:44 +0100
commit779b9834e30de1ba0b4f0755388bebd0c45aa1dc (patch)
tree218edb656e329884e4b9cab7e84f4ba4b4af0c4a /boot/cmd/Makefile
parent8ac78b9953908d2a4ffece855296fb7597440cce (diff)
Restructure rom image and use dependencies for makefiles
Diffstat (limited to 'boot/cmd/Makefile')
-rw-r--r--boot/cmd/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/boot/cmd/Makefile b/boot/cmd/Makefile
new file mode 100644
index 0000000..5c359e4
--- /dev/null
+++ b/boot/cmd/Makefile
@@ -0,0 +1,12 @@
+BUILD=$(PROJECT_ROOT)/build/boot/cmd
+
+TARGET=$(BUILD)/cmd.hex
+IHX=$(BUILD)/cmd.ihx
+
+ASM=$(wildcard *.asm)
+SRC=$(wildcard *.c)
+
+all : $(TARGET) $(PROJECT_ROOT)/payload.mk
+
+include $(PROJECT_ROOT)/payload.mk
+include $(PROJECT_ROOT)/include.mk