Makefile: Add screenshot target
This commit is contained in:
parent
4f5b5583cb
commit
070a42844a
5
Makefile
5
Makefile
@ -72,12 +72,15 @@ debug:kernel kernel.sym disk.img
|
|||||||
debug_test: CFLAGS += $(DEBUG_FLAGS) -DRUN_TEST
|
debug_test: CFLAGS += $(DEBUG_FLAGS) -DRUN_TEST
|
||||||
debug_test: debug
|
debug_test: debug
|
||||||
|
|
||||||
|
screenshot:
|
||||||
|
shutter --window=qemu -o screenshot_1.png -e && zopflipng screenshot_1.png screenshot_1.png
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
$(RM) kernel $(asmobj) $(gasmobj) $(cobj) $(deps) fd.iso kernel.sym
|
$(RM) kernel $(asmobj) $(gasmobj) $(cobj) $(deps) fd.iso kernel.sym
|
||||||
$(RM) -r isodir
|
$(RM) -r isodir
|
||||||
|
|
||||||
.PHONY:
|
.PHONY:
|
||||||
userspace
|
userspace screenshot
|
||||||
|
|
||||||
ifneq ($(MAKECMDGOALS),clean)
|
ifneq ($(MAKECMDGOALS),clean)
|
||||||
-include $(deps)
|
-include $(deps)
|
||||||
|
Loading…
Reference in New Issue
Block a user