home *** CD-ROM | disk | FTP | other *** search
/ ftp.ee.pdx.edu / 2014.02.ftp.ee.pdx.edu.tar / ftp.ee.pdx.edu / pub / users / Harry / Blitz / OSProject / p2 / makefile < prev    next >
Makefile  |  2007-09-19  |  842b  |  49 lines

  1. #
  2. # Type 'make' with this 'makefile' file to build the Project 2 code.
  3. # It will execute the following commands as needed, based on files'
  4. # most-recent-update times.
  5.  
  6. all: os
  7.  
  8. Runtime.o: Runtime.s
  9.     asm Runtime.s
  10.  
  11. Switch.o: Switch.s
  12.     asm Switch.s
  13.  
  14. System.s: System.h System.c
  15.     kpl System -unsafe
  16.  
  17. System.o: System.s
  18.     asm System.s
  19.  
  20. List.s: List.h List.c System.h
  21.     kpl List -unsafe
  22.  
  23. List.o: List.s
  24.     asm List.s
  25.  
  26. Thread.s: Thread.h Thread.c System.h List.h
  27.     kpl Thread -unsafe
  28.  
  29. Thread.o: Thread.s
  30.     asm Thread.s
  31.  
  32. Synch.s: Synch.h Synch.c Thread.h List.h System.h
  33.     kpl Synch
  34.  
  35. Synch.o: Synch.s
  36.     asm Synch.s
  37.  
  38. Main.s: Main.h Main.c Thread.h List.h System.h Synch.h
  39.     kpl Main -unsafe
  40.  
  41. Main.o: Main.s
  42.     asm Main.s
  43.  
  44.  
  45.  
  46. os: System.o List.o Thread.o Switch.o Synch.o Main.o Runtime.o
  47.     lddd System.o List.o Thread.o Switch.o Synch.o Main.o Runtime.o -o os
  48.