home *** CD-ROM | disk | FTP | other *** search
/ Chip 2001 May / W2KPRK.iso / apps / posix / source / PAX / MAKEFILE < prev    next >
Encoding:
Text File  |  1999-11-17  |  873 b   |  38 lines

  1. !include <ntwin32.mak>
  2.  
  3. C_DEFINES=-DWIN_NT -DSTDC_HEADERS -D_POSIX_SOURCE -DDIRENT -DSTACK_DIRECTION=-1 -DMSS -D__STDC__ -D_POSIX_ -Dmajor -DCONVERT_TO_SLASHES -UCONVERT_TO_BACKSLASHES
  4. C_INCLUDES=-I..\include\bsd -I..\include\df
  5.  
  6. all: pax.exe
  7.  
  8. ..\bsdpsx\bsdpsx.lib:
  9.     cd ..\bsdpsx
  10.     nmake
  11.     cd ..\pax
  12.  
  13. pax.obj: pax.c *.h
  14.  
  15. append.obj: append.c *.h
  16.  
  17. buffer.obj: buffer.c *.h
  18.  
  19. cpio.obj: cpio.c *.h
  20.  
  21. create.obj: create.c *.h
  22.  
  23. extract.obj: extract.c *.h
  24.  
  25. fileio.obj: fileio.c *.h
  26.  
  27. getopt.obj: getopt.c *.h
  28.  
  29. link.obj: link.c *.h
  30.  
  31. \.obj: \.c *.h
  32.  
  33. pax.exe: pax.obj append.obj buffer.obj cpio.obj create.obj extract.obj fileio.obj getopt.obj link.obj \.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.