Ignore:
File:
1 edited

Legend:

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

    rb3d513f r369a5f8  
    2828#
    2929
    30 include Makefile.common
     30USPACE_PREFIX = ../../..
     31BINARY = console
    3132
    32 .PHONY: all clean
     33GENERIC_SOURCES = \
     34        console.c \
     35        keybuffer.c \
     36        gcons.c
    3337
    34 all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBS)
    35         -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    36         $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
     38IMAGES = \
     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
    3749
    38 clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
    40         find . -name '*.o' -follow -exec rm \{\} \;
     50SOURCES = \
     51        $(GENERIC_SOURCES) \
     52        $(IMAGES)
     53
     54include $(USPACE_PREFIX)/Makefile.common
     55
     56%.o: %.ppm
     57        $(OBJCOPY) -I binary -O $(BFD_NAME) -B $(BFD_ARCH) $< $@
Note: See TracChangeset for help on using the changeset viewer.