Changeset 95c675b in mainline for uspace/app/barber/Makefile


Ignore:
Timestamp:
2017-10-17T13:11:35Z (8 years ago)
Author:
Ondřej Hlavatý <aearsis@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
60af4cdb
Parents:
dbf32b1 (diff), a416d070 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/barber/Makefile

    rdbf32b1 r95c675b  
    4444MATH = y
    4545
     46IMG = image
     47IMGS = $(IMG)s
     48
    4649SOURCES = \
    4750        barber.c \
    48         images.s
     51        $(IMGS).s \
     52        $(IMGS)_desc.c
    4953
    5054IMAGES = \
     
    8084        gfx/frame30.tga.gz
    8185
    82 PRE_DEPEND = images.s images.h
    83 EXTRA_CLEAN = images.s images.h
     86PRE_DEPEND = $(IMGS).s $(IMGS).h $(IMGS)_desc.c
     87EXTRA_CLEAN = $(IMGS).s $(IMGS).h $(IMGS)_desc.c $(IMGS).zip
    8488
    8589include $(USPACE_PREFIX)/Makefile.common
    8690
    87 images.s images.h: $(IMAGES)
    88         $(ROOT_PATH)/tools/mkarray.py images COMPOSITOR_IMAGES "$(AS_PROLOG)" $^
     91$(IMGS).s: $(IMGS).zip
     92        unzip -p $< $@ > $@
     93
     94$(IMGS).h: $(IMGS).zip
     95        unzip -p $< $@ > $@
     96
     97$(IMGS)_desc.c: $(IMGS).zip
     98        unzip -p $< $@ > $@
     99
     100$(IMGS).zip: $(IMAGES)
     101        $(ROOT_PATH)/tools/mkarray.py $(IMGS) $(IMG) "$(AS_PROLOG)" .data $^
Note: See TracChangeset for help on using the changeset viewer.