summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index f248f46..c5e8bdc 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,9 @@
all: target/kernel.o
+clean_run: | clean run
+
run: target/kernel.o
- qemu-system-i386 -kernel $< -machine type=pc-i440fx-3.1
+ qemu-system-i386 -kernel $< -machine type=pc-i440fx-3.1 -serial stdio
target/boot.o: boot/boot.S
mkdir -p target
@@ -17,5 +19,5 @@ target/i686-lisibleos/release/libkernel.a:
clean:
RUST_TARGET_PATH=$(shell pwd) xargo clean --target i686-lisibleos
- rm target/kernel.o target/boot.o target/i686-lisibleos/debug/libkernel.a
- rm target/kernel.o target/boot.o target/i686-lisibleos/release/libkernel.a
+ rm -f target/kernel.o target/boot.o target/i686-lisibleos/debug/libkernel.a
+ rm -f target/kernel.o target/boot.o target/i686-lisibleos/release/libkernel.a
Go back to lisible.xyz