Changeset f0c9aff in mainline


Ignore:
Timestamp:
2008-12-14T11:37:31Z (16 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e32b65a
Parents:
a1e28489
Message:

Clean .o files in individual makefiles.

Location:
uspace
Files:
14 edited

Legend:

Unmodified
Added
Removed
  • uspace/Makefile

    ra1e28489 rf0c9aff  
    8686
    8787clean: $(CLEANS)
    88         find $(DIRS) -name '*.o' -follow -exec rm \{\} \;
    89         find lib/libc -name "_link.ld" -exec rm \{\} \;
    9088
    9189distclean: clean
  • uspace/app/init/Makefile

    ra1e28489 rf0c9aff  
    6767
    6868clean:
    69         -rm -f $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm Makefile.depend
     69        -rm -f $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm Makefile.depend $(OBJECTS)
    7070
    7171depend:
  • uspace/app/klog/Makefile

    ra1e28489 rf0c9aff  
    5555
    5656clean:
    57         -rm -f $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm Makefile.depend
     57        -rm -f $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm Makefile.depend $(OBJECTS)
    5858
    5959depend:
  • uspace/app/tester/Makefile

    ra1e28489 rf0c9aff  
    6868
    6969clean:
    70         -rm -f $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm Makefile.depend
     70        -rm -f $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm Makefile.depend $(OBJECTS)
    7171
    7272depend:
  • uspace/srv/console/Makefile

    ra1e28489 rf0c9aff  
    6060ARCH_OBJECTS := $(addsuffix .o,$(basename $(ARCH_SOURCES)))
    6161
     62OBJECTS := $(GENERIC_OBJECTS) $(ARCH_OBJECTS)
     63
    6264.PHONY: all clean depend disasm
    6365
     
    6769
    6870clean:
    69         -rm -f $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm Makefile.depend
     71        -rm -f $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm Makefile.depend $(OBJECTS)
    7072
    7173depend:
    7274        $(CC) $(DEFS) $(CFLAGS) -M $(SOURCES) > Makefile.depend
    7375
    74 $(OUTPUT): $(ARCH_OBJECTS) $(GENERIC_OBJECTS) $(LIBS)
    75         $(LD) -T $(LIBC_PREFIX)/arch/$(ARCH)/_link.ld $(GENERIC_OBJECTS) $(ARCH_OBJECTS) $(LIBS) $(LFLAGS) -o $@ -Map $(OUTPUT).map
     76$(OUTPUT): $(OBJECTS) $(LIBS)
     77        $(LD) -T $(LIBC_PREFIX)/arch/$(ARCH)/_link.ld $(OBJECTS) $(LIBS) $(LFLAGS) -o $@ -Map $(OUTPUT).map
    7678
    7779disasm: $(OUTPUT).disasm
  • uspace/srv/devmap/Makefile

    ra1e28489 rf0c9aff  
    5858
    5959clean:
    60         -rm -f $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm Makefile.depend
     60        -rm -f $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm Makefile.depend $(OBJECTS)
    6161
    6262depend:
  • uspace/srv/fb/Makefile

    ra1e28489 rf0c9aff  
    8888
    8989clean:
    90         -rm -f $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm Makefile.depend
     90        -rm -f $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm Makefile.depend $(OBJECTS)
    9191
    9292depend:
  • uspace/srv/fs/fat/Makefile

    ra1e28489 rf0c9aff  
    6565
    6666clean:
    67         -rm -f $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm Makefile.depend
     67        -rm -f $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm Makefile.depend $(OBJECTS)
    6868
    6969depend:
  • uspace/srv/fs/tmpfs/Makefile

    ra1e28489 rf0c9aff  
    6363
    6464clean:
    65         -rm -f $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm Makefile.depend
     65        -rm -f $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm Makefile.depend $(OBJECTS)
    6666
    6767depend:
  • uspace/srv/kbd/Makefile

    ra1e28489 rf0c9aff  
    9898GENARCH_OBJECTS := $(addsuffix .o,$(basename $(GENARCH_SOURCES)))
    9999
     100OBJECTS := $(ARCH_OBJECTS) $(GENERIC_OBJECTS) $(GENARCH_OBJECTS)
     101
    100102.PHONY: all clean depend disasm links
    101103
     
    109111
    110112clean:
    111         -rm -f $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm Makefile.depend include/arch include/genarch
     113        -rm -f $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm Makefile.depend include/arch include/genarch $(OBJECTS)
    112114
    113115depend:
    114116        $(CC) $(DEFS) $(CFLAGS) -M $(SOURCES) > Makefile.depend
    115117
    116 $(OUTPUT): $(ARCH_OBJECTS) $(GENERIC_OBJECTS) $(GENARCH_OBJECTS) $(LIBS)
    117         $(LD) -T $(LIBC_PREFIX)/arch/$(ARCH)/_link.ld $(GENERIC_OBJECTS) $(ARCH_OBJECTS) $(GENARCH_OBJECTS) $(LIBS) $(LFLAGS) -o $@ -Map $(OUTPUT).map
     118$(OUTPUT): $(OBJECTS) $(LIBS)
     119        $(LD) -T $(LIBC_PREFIX)/arch/$(ARCH)/_link.ld $(OBJECTS) $(LIBS) $(LFLAGS) -o $@ -Map $(OUTPUT).map
    118120
    119121disasm: $(OUTPUT).disasm
  • uspace/srv/ns/Makefile

    ra1e28489 rf0c9aff  
    5454
    5555clean:
    56         -rm -f $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm Makefile.depend
     56        -rm -f $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm Makefile.depend $(OBJECTS)
    5757
    5858depend:
  • uspace/srv/pci/Makefile

    ra1e28489 rf0c9aff  
    5555
    5656clean:
    57         -rm -f $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm Makefile.depend
     57        -rm -f $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm Makefile.depend $(OBJECTS)
    5858        $(MAKE) -C libpci clean
    5959
  • uspace/srv/rd/Makefile

    ra1e28489 rf0c9aff  
    5454
    5555clean:
    56         -rm -f $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm Makefile.depend
     56        -rm -f $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm Makefile.depend $(OBJECTS)
    5757
    5858depend:
  • uspace/srv/vfs/Makefile

    ra1e28489 rf0c9aff  
    6060
    6161clean:
    62         -rm -f $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm Makefile.depend
     62        -rm -f $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm Makefile.depend $(OBJECTS)
    6363
    6464depend:
Note: See TracChangeset for help on using the changeset viewer.