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

  1. #
  2. # Makefile for the linux isofs-filesystem routines.
  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 definitions are now in the main makefile...
  9.  
  10. .c.s:
  11.     $(CC) $(CFLAGS) -S $<
  12. .c.o:
  13.     $(CC) $(CFLAGS) -c $<
  14. .s.o:
  15.     $(AS) -o $*.o $<
  16.  
  17. OBJS=    namei.o inode.o file.o dir.o util.o rock.o symlink.o
  18.  
  19. isofs.o: $(OBJS)
  20.     $(LD) -r -o isofs.o $(OBJS)
  21.  
  22. modules: isofs.o
  23.     ln -sf ../fs/isofs/isofs.o $(TOPDIR)/modules
  24.  
  25. dep:
  26.     $(CPP) -M *.c > .depend
  27.  
  28. #
  29. # include a dependency file if one exists
  30. #
  31. ifeq (.depend,$(wildcard .depend))
  32. include .depend
  33. endif
  34.