Changeset 1b1164e8 in mainline for uspace/srv/hid/console/Makefile


Ignore:
Timestamp:
2010-03-23T14:44:00Z (15 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
63f8966
Parents:
d99c1d2
Message:

unify and simplify user space makefiles
rename NETWORKING configuration option to CONFIG_NETWORKING

File:
1 edited

Legend:

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

    rd99c1d2 r1b1164e8  
    2828#
    2929
    30 include Makefile.common
     30USPACE_PREFIX = ../../..
     31BINARY = console
    3132
    32 .PHONY: all clean
     33GENERIC_SOURCES = \
     34        console.c \
     35        screenbuffer.c \
     36        keybuffer.c \
     37        gcons.c
    3338
    34 all: $(LIBC_PREFIX)/../../../Makefile.common $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBS)
    35         -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    36         $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
     39IMAGES = \
     40        gfx/helenos.ppm \
     41        gfx/nameic.ppm \
     42        gfx/cons_selected.ppm \
     43        gfx/cons_idle.ppm \
     44        gfx/cons_has_data.ppm \
     45        gfx/cons_kernel.ppm \
     46        gfx/anim_1.ppm \
     47        gfx/anim_2.ppm \
     48        gfx/anim_3.ppm \
     49        gfx/anim_4.ppm
    3750
    38 clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
    40         find . -name '*.o' -follow -exec rm \{\} \;
     51SOURCES = \
     52        $(GENERIC_SOURCES) \
     53        $(IMAGES)
     54
     55include $(USPACE_PREFIX)/Makefile.common
     56
     57%.o: %.ppm
     58        $(OBJCOPY) -I binary -O $(BFD_NAME) -B $(BFD_ARCH) $< $@
Note: See TracChangeset for help on using the changeset viewer.