Initial commit
This commit is contained in:
15
Makefile
Normal file
15
Makefile
Normal file
@@ -0,0 +1,15 @@
|
||||
EXECNAME = rust-luciaos
|
||||
|
||||
all: target/lucia/release/$(EXECNAME).o
|
||||
clang -m32 -nostartfiles -nostdlib -Tlucia.ld -ffreestanding -o $(EXECNAME).com $<
|
||||
|
||||
debug: target/lucia/debug/$(EXECNAME).o
|
||||
clang -m32 -nostartfiles -nostdlib -Tlucia.ld -ffreestanding -o $(EXECNAME).com $<
|
||||
|
||||
.PHONY: target/lucia/release/$(EXECNAME).o
|
||||
target/lucia/release/$(EXECNAME).o:
|
||||
cargo build --release
|
||||
|
||||
.PHONY: target/lucia/debug/$(EXECNAME).o
|
||||
target/lucia/debug/$(EXECNAME).o:
|
||||
cargo build
|
Reference in New Issue
Block a user