home *** CD-ROM | disk | FTP | other *** search
/ Il CD di internet / CD.iso / SOURCE / KERNEL-S / V1.2 / LINUX-1.2 / LINUX-1 / linux / mm / Makefile < prev    next >
Encoding:
Makefile  |  1995-01-11  |  642 b   |  33 lines

  1. #
  2. # Makefile for the linux memory manager.
  3. #
  4. # Note! Dependencies are done automagically by 'make dep', which also
  5. # removes any old dependencies. DON'T put your own dependencies here
  6. # unless it's something special (ie not a .c file).
  7. #
  8. # Note 2! The CFLAGS definition is now in the main makefile...
  9.  
  10. .c.o:
  11.     $(CC) $(CFLAGS) -c $<
  12. .s.o:
  13.     $(AS) -o $*.o $<
  14. .c.s:
  15.     $(CC) $(CFLAGS) -S $<
  16.  
  17. OBJS    = memory.o swap.o mmap.o filemap.o mprotect.o kmalloc.o vmalloc.o
  18.  
  19. mm.o: $(OBJS)
  20.     $(LD) -r -o mm.o $(OBJS)
  21.  
  22. modules:
  23.  
  24. dep:
  25.     $(CPP) -M *.c > .depend
  26.  
  27. #
  28. # include a dependency file if one exists
  29. #
  30. ifeq (.depend,$(wildcard .depend))
  31. include .depend
  32. endif
  33.