rename mksplash to mkgfx because it's really more general than just for

splash screen graphics
This commit is contained in:
Amy Bowersox 2019-12-11 13:04:00 -07:00
parent 8c82022168
commit 2526184dfe
3 changed files with 6 additions and 6 deletions

View File

@ -1,7 +1,7 @@
all: mksplash all: mkgfx
mksplash: mksplash.c mkgfx: mkgfx.c
gcc -o mksplash -O -Wall -I/usr/include/libpng mksplash.c -lpng16 -lz gcc -o mkgfx -O -Wall -I/usr/include/libpng mkgfx.c -lpng16 -lz
clean: clean:
rm -f *.o mksplash rm -f *.o mkgfx

View File

@ -23,8 +23,8 @@ splash.o: splash.bin
objcopy -I binary -O elf32-littlearm -B arm --rename-section \ objcopy -I binary -O elf32-littlearm -B arm --rename-section \
.data=.rodata,alloc,load,readonly,data,contents splash.bin splash.o .data=.rodata,alloc,load,readonly,data,contents splash.bin splash.o
splash.bin: $(RESOURCES)/$(SPLASHSCREEN) $(BUILDUTILS)/mksplash splash.bin: $(RESOURCES)/$(SPLASHSCREEN) $(BUILDUTILS)/mkgfx
$(BUILDUTILS)/mksplash $(RESOURCES)/$(SPLASHSCREEN) splash.bin $(BUILDUTILS)/mkgfx $(RESOURCES)/$(SPLASHSCREEN) splash.bin
clean: clean:
rm -f upiwin *.o splash.bin *~ rm -f upiwin *.o splash.bin *~