Changes in uspace/Makefile [c7dc8ad:3052ff4] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/Makefile

    rc7dc8ad r3052ff4  
    3333
    3434DIRS = \
     35        lib/libc \
     36        lib/libfs \
     37        lib/libblock \
     38        lib/softint \
     39        lib/softfloat \
    3540        srv/bd/ata_bd \
    3641        srv/bd/file_bd \
     
    5560        app/init \
    5661        app/getvc \
    57         app/redir \
    5862        app/bdsh
    5963
     
    7276endif
    7377
    74 LIBC = lib/libc
    75 LIBS = \
    76         lib/libfs \
    77         lib/libblock \
    78         lib/softint \
    79         lib/softfloat
     78BUILDS := $(addsuffix .build,$(DIRS))
     79CLEANS := $(addsuffix .clean,$(DIRS))
    8080
    81 LIBC_BUILD = $(addsuffix .build,$(LIBC))
    82 LIBS_BUILD = $(addsuffix .build,$(LIBS))
     81.PHONY: all $(BUILDS) $(CLEANS) clean
    8382
    84 BUILDS := $(addsuffix .build,$(DIRS))
    85 CLEANS := $(addsuffix .clean,$(DIRS)) $(addsuffix .clean,$(LIBS)) $(addsuffix .clean,$(LIBC))
    86 
    87 .PHONY: all $(LIBC_BUILD) $(LIBS_BUILD) $(BUILDS) $(CLEANS) clean
    88 
    89 all: $(BUILDS)
     83all: ../Makefile.config ../config.h ../config.defs $(BUILDS)
    9084
    9185clean: $(CLEANS)
     
    9488        -$(MAKE) -C $(basename $@) clean
    9589
    96 $(BUILDS): $(LIBC_BUILD) $(LIBS_BUILD)
     90$(BUILDS):
    9791        $(MAKE) -C $(basename $@) all
    98 
    99 $(LIBS_BUILD): $(LIBC_BUILD)
    100         $(MAKE) -C $(basename $@) all
    101 
    102 $(LIBC_BUILD):
    103         $(MAKE) -C $(basename $@) all
Note: See TracChangeset for help on using the changeset viewer.