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


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/Makefile

    r3052ff4 rc7dc8ad  
    3333
    3434DIRS = \
    35         lib/libc \
    36         lib/libfs \
    37         lib/libblock \
    38         lib/softint \
    39         lib/softfloat \
    4035        srv/bd/ata_bd \
    4136        srv/bd/file_bd \
     
    6055        app/init \
    6156        app/getvc \
     57        app/redir \
    6258        app/bdsh
    6359
     
    7672endif
    7773
     74LIBC = lib/libc
     75LIBS = \
     76        lib/libfs \
     77        lib/libblock \
     78        lib/softint \
     79        lib/softfloat
     80
     81LIBC_BUILD = $(addsuffix .build,$(LIBC))
     82LIBS_BUILD = $(addsuffix .build,$(LIBS))
     83
    7884BUILDS := $(addsuffix .build,$(DIRS))
    79 CLEANS := $(addsuffix .clean,$(DIRS))
     85CLEANS := $(addsuffix .clean,$(DIRS)) $(addsuffix .clean,$(LIBS)) $(addsuffix .clean,$(LIBC))
    8086
    81 .PHONY: all $(BUILDS) $(CLEANS) clean
     87.PHONY: all $(LIBC_BUILD) $(LIBS_BUILD) $(BUILDS) $(CLEANS) clean
    8288
    83 all: ../Makefile.config ../config.h ../config.defs $(BUILDS)
     89all: $(BUILDS)
    8490
    8591clean: $(CLEANS)
     
    8894        -$(MAKE) -C $(basename $@) clean
    8995
    90 $(BUILDS):
     96$(BUILDS): $(LIBC_BUILD) $(LIBS_BUILD)
    9197        $(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.