Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/vlaunch/Makefile

    r2628642 r22299ed  
    4343MATH = y
    4444
     45IMG = image
     46IMGS = $(IMG)s
     47
    4548SOURCES = \
    4649        vlaunch.c \
    47         images.s
     50        $(IMGS).s \
     51        $(IMGS)_desc.c
    4852
    4953IMAGES = \
    5054        gfx/helenos.tga
    5155
    52 PRE_DEPEND = images.s images.h
    53 EXTRA_CLEAN = images.s images.h
     56PRE_DEPEND = $(IMGS).s $(IMGS).h $(IMGS)_desc.c
     57EXTRA_CLEAN = $(IMGS).s $(IMGS).h $(IMGS)_desc.c $(IMGS).zip
    5458
    5559include $(USPACE_PREFIX)/Makefile.common
    5660
    57 images.s images.h: $(IMAGES)
    58         $(ROOT_PATH)/tools/mkarray.py images COMPOSITOR_IMAGES "$(AS_PROLOG)" $^
     61$(IMGS).s: $(IMGS).zip
     62        unzip -p $< $@ > $@
     63
     64$(IMGS).h: $(IMGS).zip
     65        unzip -p $< $@ > $@
     66
     67$(IMGS)_desc.c: $(IMGS).zip
     68        unzip -p $< $@ > $@
     69
     70$(IMGS).zip: $(IMAGES)
     71        $(ROOT_PATH)/tools/mkarray.py $(IMGS) $(IMG) "$(AS_PROLOG)" .data $^
Note: See TracChangeset for help on using the changeset viewer.