home *** CD-ROM | disk | FTP | other *** search
/ Il CD di internet / CD.iso / SOURCE / KERNEL-S / V1.0 / LINUX-1.0 / LINUX-1 / linux / ibcs / Makefile < prev   
Encoding:
Makefile  |  1993-12-01  |  709 b   |  40 lines

  1. #
  2. # Makefile for the iBCS emulator files
  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. .S.s:
  11.     $(CPP) -traditional $< -o $*.s
  12. .c.s:
  13.     $(CC) $(CFLAGS) -S $<
  14. .s.o:
  15.     $(AS) -c -o $*.o $<
  16. .c.o:
  17.     $(CC) $(CFLAGS) -c $<
  18.  
  19. SUBDIRS    = 
  20.  
  21. OBJS  = emulate.o
  22.  
  23. ibcs.o: $(OBJS)
  24.     $(LD) -r -o ibcs.o $(OBJS)
  25.     sync
  26.  
  27. dep:
  28.     $(CPP) -M *.c > .depend
  29.     set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i dep; done
  30.  
  31. dummy:
  32.  
  33. #
  34. # include a dependency file if one exists
  35. #
  36. ifeq (.depend,$(wildcard .depend))
  37. include .depend
  38. endif
  39.  
  40.