home *** CD-ROM | disk | FTP | other *** search
/ RBBS in a Box Volume 1 #2 / RBBS_vol1_no2.iso / 014r / pdtar.zip / MAKEFILE.C5 < prev    next >
Text File  |  1988-02-03  |  857b  |  30 lines

  1. # Makefile for MSC compilation of public domain tar program.
  2. # MS/DOS version - port by Eric Roskos, IDA
  3.  
  4. DEFS = -DUSG -DNONAMES
  5. LIBS =
  6. DEF_AR_FILE = \"ARCHIVE.TAR\"
  7. DEFBLOCKING = 20
  8. COPTS = -Osl
  9.  
  10. CFLAGS = $(COPTS) $(DEFS) \
  11.     -DDEF_AR_FILE=$(DEF_AR_FILE) \
  12.     -DDEFBLOCKING=$(DEFBLOCKING)
  13.  
  14. # Add things here like getopt, readdir, etc that aren't in your
  15. # standard libraries.  Do *NOT* include binmode for MS-DOS.
  16. SUBSRC=    ndir.c getopt.c
  17. SUBOBJ=    ndir.obj getopt.obj \lib\setargv.obj
  18.  
  19. SRCS =    tar.c create.c extract.c buffer.c getoopt.c list.c names.c \
  20.     port.c dosio.c $(SUBSRC)
  21. OBJS =     tar.obj create.obj extract.obj buffer.obj getoopt.obj \
  22.     list.obj names.obj port.obj dosio.obj $(SUBOBJ)
  23. AUX =    README PORTING Makefile TODO tar.1 tar.5 tar.h port.h
  24.  
  25. .c.obj:
  26.     cl $(CFLAGS) -c $*.c
  27.  
  28. tar.exe:    $(OBJS)
  29.     link /NOE/NOI/STACK:8192 @lk
  30.