dos33fsprogs/demosplash2019/graphics/starbase/Makefile

42 lines
1.4 KiB
Makefile
Raw Normal View History

2019-10-03 04:49:35 +00:00
include ../../../Makefile.inc
PNG2RLE = ../../../gr-utils/png2rle
PNG2LZ4 = ../../../gr-utils/png2lz4
2019-11-04 21:25:26 +00:00
all: starbase.inc ship_flames.inc star_wipe.inc
2019-10-03 04:49:35 +00:00
#####
starbase.inc: $(PNG2RLE) \
jail.png hallway.png window.png ship.png
$(PNG2RLE) asm jail.png jail_rle > starbase.inc
2019-10-03 04:49:35 +00:00
$(PNG2RLE) asm hallway.png hallway_rle >> starbase.inc
$(PNG2RLE) asm window.png window_rle >> starbase.inc
$(PNG2RLE) asm ship.png ship_rle >> starbase.inc
2019-11-04 20:54:22 +00:00
ship_flames.inc: $(PNG2RLE) \
ship_flame0.png ship_flame1.png ship_flame2.png ship_flame3.png \
ship_flame4.png ship_flame5.png
$(PNG2RLE) asm ship_flame0.png ship_flame0_rle > ship_flames.inc
$(PNG2RLE) asm ship_flame1.png ship_flame1_rle >> ship_flames.inc
$(PNG2RLE) asm ship_flame2.png ship_flame2_rle >> ship_flames.inc
$(PNG2RLE) asm ship_flame3.png ship_flame3_rle >> ship_flames.inc
$(PNG2RLE) asm ship_flame4.png ship_flame4_rle >> ship_flames.inc
$(PNG2RLE) asm ship_flame5.png ship_flame5_rle >> ship_flames.inc
2019-11-04 21:25:26 +00:00
star_wipe.inc: $(PNG2RLE) \
2019-11-05 03:47:52 +00:00
star1.png star2.png star3.png star4.png star5.png empty.png
2019-11-04 21:25:26 +00:00
$(PNG2RLE) asm star1.png star_wipe1_rle > star_wipe.inc
$(PNG2RLE) asm star2.png star_wipe2_rle >> star_wipe.inc
$(PNG2RLE) asm star3.png star_wipe3_rle >> star_wipe.inc
$(PNG2RLE) asm star4.png star_wipe4_rle >> star_wipe.inc
$(PNG2RLE) asm star5.png star_wipe5_rle >> star_wipe.inc
2019-11-05 03:47:52 +00:00
$(PNG2RLE) asm empty.png empty_rle >> star_wipe.inc
2019-11-04 21:25:26 +00:00
2019-10-03 04:49:35 +00:00
#####
clean:
rm -f *~ *.o *.lst *.lzz *.inc