-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
71ab013
commit c334171
Showing
16 changed files
with
290 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,26 @@ | ||
|
||
.PHONY: all | ||
|
||
SHARED_DIR := .output/shared/ | ||
|
||
all: $(addprefix $(SHARED_DIR),power.r8 options.r8 background.r24) | ||
|
||
|
||
# NOTE: This is actually done in Kernel/Makefile | ||
logo.rs: TifflinLogoV1-128.png Makefile ConvertTo32bppRS | ||
$(SHARED_DIR)logo.rs: TifflinLogoV1-128.png Makefile ConvertTo32bppRS | ||
./ConvertTo32bppRS $< $@ S_LOGO | ||
|
||
power.r8: open-iconic_moon-2x.png Makefile | ||
%.r8: | ||
mkdir -p $(dir $@) | ||
convert $< -depth 8 -channel A -separate gray:.tmp.$(notdir $@) | ||
/bin/echo -ne "\x10\x00\x10\x00" | cat - .tmp.$(notdir $@) > $@ | ||
/bin/echo -ne "\x7FR8M\x10\x00\x10\x00" | cat - .tmp.$(notdir $@) > $@ | ||
|
||
options.r8: open-iconic_cog-2x.png Makefile | ||
convert $< -depth 8 -channel A -separate gray:.tmp.$(notdir $@) | ||
/bin/echo -ne "\x10\x00\x10\x00" | cat - .tmp.$(notdir $@) > $@ | ||
%.r24: | ||
mkdir -p $(dir $@) | ||
convert $< -depth 8 rgb:.tmp.$(notdir $@) | ||
/bin/echo -ne "\x7FR24\x10\x00\x10\x00" | cat - .tmp.$(notdir $@) > $@ | ||
|
||
$(SHARED_DIR)background.r24: rustacean-orig.png Makefile | ||
$(SHARED_DIR)power.r8: open-iconic_moon-2x.png Makefile | ||
$(SHARED_DIR)options.r8: open-iconic_cog-2x.png Makefile | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.