Changeset 2628642 in mainline for uspace/app/barber/Makefile


Ignore:
Timestamp:
2017-05-18T18:04:13Z (8 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b06414f
Parents:
3ec2acc
Message:

generate inlined binary data via assembler
this is much faster and more flexible than via the C compiler

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/barber/Makefile

    r3ec2acc r2628642  
    4646SOURCES = \
    4747        barber.c \
    48         images.c
     48        images.s
    4949
    5050IMAGES = \
     
    8080        gfx/frame30.tga.gz
    8181
    82 PRE_DEPEND = images.c images.h
    83 EXTRA_CLEAN = images.c images.h
     82PRE_DEPEND = images.s images.h
     83EXTRA_CLEAN = images.s images.h
    8484
    8585include $(USPACE_PREFIX)/Makefile.common
    8686
    87 image%.c image%.h: $(IMAGES)
    88         $(ROOT_PATH)/tools/mkarray.py images COMPOSITOR_IMAGES $(IMAGES)
     87images.s images.h: $(IMAGES)
     88        $(ROOT_PATH)/tools/mkarray.py images COMPOSITOR_IMAGES "$(AS_PROLOG)" $^
Note: See TracChangeset for help on using the changeset viewer.