Skip to content

Commit 4c49ae7

Browse files
improve clean target
1 parent 0e52d56 commit 4c49ae7

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ boot/boot_loader.bin: boot/boot_loader.asm
3333
os-image: boot/boot_loader.bin kernel/kernel.bin
3434
cat $^ > $@
3535

36-
clean: ${wildcard *.o *.bin}
36+
.PHONY:
37+
clean:
3738
rm -f kernel/*.o drivers/*.o kernel/*.bin drivers/*.bin boot/*.bin os-image
3839

3940
# run the boot loader

os-image

-564 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)