Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/console/Makefile

    rc6f08726 r369a5f8  
    2929
    3030USPACE_PREFIX = ../../..
    31 LIBS = $(LIBIMGMAP_PREFIX)/libimgmap.a
    32 EXTRA_CFLAGS += -I$(LIBIMGMAP_PREFIX)
    3331BINARY = console
    3432
    35 SOURCES = \
     33GENERIC_SOURCES = \
    3634        console.c \
    3735        keybuffer.c \
    38         images.c \
    3936        gcons.c
    4037
    4138IMAGES = \
    42         gfx/helenos.tga \
    43         gfx/nameic.tga \
    44         gfx/cons_selected.tga \
    45         gfx/cons_idle.tga \
    46         gfx/cons_has_data.tga \
    47         gfx/cons_kernel.tga \
    48         gfx/anim_1.tga \
    49         gfx/anim_2.tga \
    50         gfx/anim_3.tga \
    51         gfx/anim_4.tga
     39        gfx/helenos.ppm \
     40        gfx/nameic.ppm \
     41        gfx/cons_selected.ppm \
     42        gfx/cons_idle.ppm \
     43        gfx/cons_has_data.ppm \
     44        gfx/cons_kernel.ppm \
     45        gfx/anim_1.ppm \
     46        gfx/anim_2.ppm \
     47        gfx/anim_3.ppm \
     48        gfx/anim_4.ppm
    5249
    53 PRE_DEPEND = images.c images.h
    54 EXTRA_CLEAN = images.c images.h
     50SOURCES = \
     51        $(GENERIC_SOURCES) \
     52        $(IMAGES)
    5553
    5654include $(USPACE_PREFIX)/Makefile.common
    5755
    58 images.c images.h: $(IMAGES)
    59         $(ROOT_PATH)/tools/mkarray.py images CONSOLE_IMAGES $^
     56%.o: %.ppm
     57        $(OBJCOPY) -I binary -O $(BFD_NAME) -B $(BFD_ARCH) $< $@
Note: See TracChangeset for help on using the changeset viewer.