Makefile: Add screenshot target

This commit is contained in:
Mathieu Maret 2021-11-14 14:54:20 +01:00
parent 4f5b5583cb
commit 070a42844a

View File

@ -72,12 +72,15 @@ debug:kernel kernel.sym disk.img
debug_test: CFLAGS += $(DEBUG_FLAGS) -DRUN_TEST
debug_test: debug
screenshot:
shutter --window=qemu -o screenshot_1.png -e && zopflipng screenshot_1.png screenshot_1.png
clean:
$(RM) kernel $(asmobj) $(gasmobj) $(cobj) $(deps) fd.iso kernel.sym
$(RM) -r isodir
.PHONY:
userspace
userspace screenshot
ifneq ($(MAKECMDGOALS),clean)
-include $(deps)