home *** CD-ROM | disk | FTP | other *** search
/ Dream 52 / Amiga_Dream_52.iso / Amiga / Workbench / Archivers / AmiGNUtar.lha / AmiGNUtar / src.lha / src / smakefile < prev    next >
Makefile  |  1998-04-12  |  2KB  |  62 lines

  1. SRCS =  tar.c create.c extract.c mangle.c buffer.c getoldopt.c update.c gnu.c    \
  2.         version.c list.c diffarch.c port.c wildmat.c getopt.c getdate.c \
  3.         regex.c getopt1.c sas_amiga.c sas_amiga2.c
  4.  
  5. OBJS =  tar.o create.o extract.o mangle.o buffer.o getoldopt.o update.o gnu.o    \
  6.         version.o list.o diffarch.o port.o wildmat.o getopt.o getdate.o \
  7.         regex.o getopt1.o sas_amiga.o sas_amiga2.o
  8.  
  9.  
  10. all: GNUTar.elf
  11.  
  12.      smake -f smakefile000
  13.      smake -f smakefile030
  14.      smake -f smakefile040
  15.  
  16.      Copy (GNUTar.elf|GNUTar|GNUTar.030|GNUTar.040) /bin
  17.  
  18. GNUTar.elf: $(OBJS)
  19.  
  20.     ppc-amigaos-ld -r lib:c_ppc.o $(OBJS) LIB:scppc.a lib:end.o -o GNUtar.elf
  21.  
  22.     Copy GNUTar.elf /
  23.  
  24. tar.o:        tar.c
  25.               SCPPC tar.c
  26. create.o:     create.c
  27.               SCPPC create.c
  28. extract.o:    extract.c
  29.               SCPPC DEFINE=BSD42 extract.c
  30. mangle.o:     mangle.c
  31.               SCPPC DEFINE=BSD42 mangle.c
  32. buffer.o:     buffer.c
  33.               SCPPC buffer.c
  34. getoldopt.o:  getoldopt.c
  35.               SCPPC getoldopt.c
  36. update.o:     update.c
  37.               SCPPC update.c
  38. gnu.o:        gnu.c
  39.               SCPPC gnu.c
  40. version.o:    version.c
  41.               SCPPC version.c
  42. list.o:       list.c
  43.               SCPPC list.c
  44. diffarch.o:   diffarch.c
  45.               SCPPC DEFINE=BSD42 diffarch.c
  46. port.o:       port.c
  47.               SCPPC port.c
  48. wildmat.o:    wildmat.c
  49.               SCPPC wildmat.c
  50. getopt.o:     getopt.c
  51.               SCPPC getopt.c
  52. getdate.o:    getdate.c
  53.               SCPPC IGNORE=181 getdate.c
  54. regex.o:      regex.c
  55.               SCPPC IGNORE=104 NOOPTGLOBAL regex.c
  56. getopt1.o:    getopt1.c
  57.               SCPPC getopt1.c
  58. sas_amiga.o:  sas_amiga.c
  59.               SCPPC DEFINE=_STRING_H sas_amiga.c
  60. sas_amiga2.o: sas_amiga2.c
  61.               SCPPC sas_amiga2.c
  62.