Browse Source

Makefile: Add screenshot target

master
Mathieu Maret 2 weeks ago
parent
commit
070a42844a
  1. 5
      Makefile

5
Makefile

@ -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)

Loading…
Cancel
Save