Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/tetris/Makefile

    re5773c6 rcc1f8d4  
    2828#
    2929
    30 USPACE_PREFIX = ../..
    31 LIBS = $(LIBC_PREFIX)/libc.a
     30include Makefile.common
    3231
    33 OUTPUT = tetris
     32.PHONY: all clean
    3433
    35 SOURCES = \
    36         shapes.c \
    37         scores.c \
    38         input.c \
    39         tetris.c \
    40         screen.c
     34all: $(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
    4137
    42 include ../Makefile.common
     38clean:
     39        rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
     40        find . -name '*.o' -follow -exec rm \{\} \;
Note: See TracChangeset for help on using the changeset viewer.