home *** CD-ROM | disk | FTP | other *** search
/ Borland Programmer's Resource / Borland_Programmers_Resource_CD_1995.iso / utils / source / find / makefile < prev    next >
Encoding:
Makefile  |  1995-05-19  |  891 b   |  38 lines

  1. !include <ntwin32.mak>
  2.  
  3. C_DEFINES=-DWIN_NT -DSTDC_HEADERS -D_POSIX_SOURCE -DDIRENT -DSTACK_DIRECTION=-1 -D__STDC__ -DDF_POSIX -D_POSIX_ -DCONVERT_TO_SLASHES -UCONVERT_TO_BACKSLASHES
  4. C_INCLUDES=-I..\include\bsd -I..\include\df
  5.  
  6. all: find.exe
  7.  
  8. ..\bsdpsx\bsdpsx.lib:
  9.     cd ..\bsdpsx
  10.     nmake
  11.     cd ..\find
  12.  
  13. find.obj: find.c *.h
  14.  
  15. function.obj: function.c *.h
  16.  
  17. ls.obj: ls.c *.h
  18.  
  19. main.obj: main.c *.h
  20.  
  21. misc.obj: misc.c *.h
  22.  
  23. operator.obj: operator.c *.h
  24.  
  25. option.obj: option.c *.h
  26.  
  27. fnmatch.obj: fnmatch.c *.h
  28.  
  29. findglob.obj: findglob.c *.h
  30.  
  31. glob.obj: glob.c *.h
  32.  
  33. find.exe: find.obj function.obj ls.obj main.obj misc.obj operator.obj option.obj fnmatch.obj findglob.obj glob.obj ..\bsdpsx\bsdpsx.lib
  34.     $(link) $(linkdebug) $(psxflags) -out:$*.exe $** $(psxlibs) ..\bsdpsx\bsdpsx.lib
  35.  
  36. .c.obj:
  37.     $(cc) $(cflags) $(psxvars) $(cvars) $(cdebug) $(C_DEFINES) $(C_INCLUDES) $*.c
  38.