hackathon-dev #1
|
@ -1,7 +1,7 @@
|
|||
all: mksplash
|
||||
all: mkgfx
|
||||
|
||||
mksplash: mksplash.c
|
||||
gcc -o mksplash -O -Wall -I/usr/include/libpng mksplash.c -lpng16 -lz
|
||||
mkgfx: mkgfx.c
|
||||
gcc -o mkgfx -O -Wall -I/usr/include/libpng mkgfx.c -lpng16 -lz
|
||||
|
||||
clean:
|
||||
rm -f *.o mksplash
|
||||
rm -f *.o mkgfx
|
||||
|
|
|
@ -23,8 +23,8 @@ splash.o: splash.bin
|
|||
objcopy -I binary -O elf32-littlearm -B arm --rename-section \
|
||||
.data=.rodata,alloc,load,readonly,data,contents splash.bin splash.o
|
||||
|
||||
splash.bin: $(RESOURCES)/$(SPLASHSCREEN) $(BUILDUTILS)/mksplash
|
||||
$(BUILDUTILS)/mksplash $(RESOURCES)/$(SPLASHSCREEN) splash.bin
|
||||
splash.bin: $(RESOURCES)/$(SPLASHSCREEN) $(BUILDUTILS)/mkgfx
|
||||
$(BUILDUTILS)/mkgfx $(RESOURCES)/$(SPLASHSCREEN) splash.bin
|
||||
|
||||
clean:
|
||||
rm -f upiwin *.o splash.bin *~
|
||||
|
|
Loading…
Reference in New Issue
Block a user