home *** CD-ROM | disk | FTP | other *** search
/ Borland Programmer's Resource / Borland_Programmers_Resource_CD_1995.iso / ntcode / gd25s / ms / makefile.nt < prev    next >
Encoding:
Makefile  |  1995-05-19  |  1.3 KB  |  44 lines

  1. # Windows/NT Makefile
  2.  
  3. DEFS    = -DUSG=1 -DHAVE_STRING_H=1 -DPR_FILE_NAME=\"pr\" -DDIFF_PROGRAM=\"diff\"
  4.  
  5. CFLAGS    = -Ox -I. -Ims -DREGEX_MALLOC -D__MSC__ -D__NT__ $(DEFS)
  6.  
  7. all:        diff.exe diff3.exe #####cmp.exe sdiff.exe
  8.  
  9. DIFFOBJ    = diff.obj analyze.obj io.obj context.obj ed.obj normal.obj util.obj \
  10.       dir.obj fnmatch.obj regex.obj side.obj ifdef.obj version.obj \
  11.       getopt.obj getopt1.obj cmpbuf.obj dirent.obj
  12. diff.exe:    $(DIFFOBJ)
  13.     cl -Fediff.exe $(DIFFOBJ)
  14.  
  15. DIFF3OBJ = diff3.obj getopt.obj getopt1.obj version.obj
  16. diff3.exe:    $(DIFF3OBJ)
  17.     cl -Fediff3.exe $(DIFF3OBJ)
  18.  
  19. dirent.obj:    ms\dirent.c
  20.     $(CC) -Ox -c -Ims -D__NT__ -D__MSC__ ms\dirent.c
  21.  
  22. analyze.obj:    diff.h system.h
  23. cmp.obj:    system.h getopt.h
  24. cmpbuf.obj:    system.h cmpbuf.h
  25. context.obj:    diff.h system.h regex.h
  26. diff.obj:    diff.h system.h regex.h getopt.h fnmatch.h
  27. diff3.obj:    system.h getopt.h
  28. dir.obj:    diff.h system.h
  29. ed.obj:        diff.h system.h
  30. fnmatch.obj:    diff.h system.h fnmatch.h
  31. getopt.obj:    diff.h system.h getopt.h
  32. getopt1.obj:    diff.h system.h getopt.h
  33. ifdef.obj:    diff.h system.h
  34. io.obj:        diff.h system.h
  35. normal.obj:    diff.h system.h
  36. regex.obj:    diff.h system.h regex.h
  37. sdiff.obj:    system.h getopt.h
  38. side.obj:    diff.h system.h
  39. util.obj:    diff.h system.h
  40. version.obj:    diff.h system.h
  41.  
  42. clean:
  43.     rm -f *.obj diff.exe cmp.exe diff3.exe sdiff.exe
  44.