home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / programming / misc / amicvs1-0.lha / AmiCVS / lib / makefile < prev    next >
Encoding:
Makefile  |  1994-11-05  |  1.9 KB  |  100 lines

  1. # -*- text -*-
  2.  
  3. #
  4. # this makefile is specific to the Amiga system
  5. # please check the settings for programs
  6. #
  7.  
  8.  
  9. # remember programs
  10. MV = c:rename
  11. RM = c:delete quiet
  12. YACC = gnu:bison1.21/bison
  13. %CC = bin:gcc -m68030
  14. CC = bin:gcc
  15. AR = bin:ar
  16. RANLIB = bin:ranlib
  17.  
  18.  
  19. # remember files
  20. SOURCES = argmatch.c error.c getopt.c getopt1.c sighandle.c strippath.c stripslash.c yesno.c \
  21.           getdate.y hostname.c fnmatch.c ftruncate.c mkdir.c rename.c regex.c strdup.c getwd.c alloca.c
  22.  
  23. OBJECTS = argmatch.o error.o getopt.o getopt1.o sighandle.o strippath.o stripslash.o yesno.o getdate.o
  24.  
  25. LIBS = libcvs.a
  26.  
  27.  
  28. libcvs.a:       $(OBJECTS)
  29.         $(AR) cr $@ $(OBJECTS)
  30.         $(RANLIB) $@
  31.  
  32. getdate.c:      getdate.y
  33.         $(YACC) -d -y -v getdate.y
  34.         $(MV) y.tab.c getdate.c
  35.         $(RM) y.output y.tab.h
  36.  
  37. argmatch.o:     argmatch.c
  38.         $(CC) -c -o argmatch.o argmatch.c
  39.  
  40. error.o:        error.c
  41.         $(CC) -c -o error.o error.c
  42.  
  43. getopt.o:       getopt.c
  44.         $(CC) -c -o getopt.o getopt.c
  45.  
  46. getopt1.o:      getopt1.c
  47.         $(CC) -c -o getopt1.o getopt1.c
  48.  
  49. sighandle.o:    sighandle.c
  50.         $(CC) -c -o sighandle.o sighandle.c
  51.  
  52. strippath.o:    strippath.c
  53.         $(CC) -c -o strippath.o strippath.c
  54.  
  55. stripslash.o:   stripslash.c
  56.         $(CC) -c -o stripslash.o stripslash.c
  57.  
  58. yesno.o:        yesno.c
  59.         $(CC) -c -o yesno.o yesno.c
  60.  
  61. getdate.o:      getdate.c
  62.         $(CC) -c -o getdate.o getdate.c
  63.  
  64. hostname.o:     hostname.c
  65.         $(CC) -c -o hostname.o hostname.c
  66.  
  67. fnmatch.o:      fnmatch.c
  68.         $(CC) -c -o fnmatch.o fnmatch.c
  69.  
  70. ftruncate.o:    ftruncate.c
  71.         $(CC) -c -o ftruncate.o ftruncate.c
  72.  
  73. mkdir.o:        mkdir.c
  74.         $(CC) -c -o mkdir.o mkdir.c
  75.  
  76. rename.o:       rename.c
  77.         $(CC) -c -o rename.o rename.c
  78.  
  79. regex.o:        regex.c
  80.         $(CC) -c -o regex.o regex.c
  81.  
  82. strdup.o:       strdup.c
  83.         $(CC) -c -o strdup.o strdup.c
  84.  
  85. getwd.o:        getwd.c
  86.         $(CC) -c -o getwd.o getwd.c
  87.  
  88. alloca.o:       alloca.c
  89.         $(CC) -c -o alloca.o alloca.c
  90.  
  91.  
  92.  
  93. .PHONY:
  94. clean:
  95.         -$(RM) $(OBJECTS) $(LIBS)
  96.  
  97. .PHONY:
  98. cleanall:
  99.         -$(RM) $(OBJECTS) $(LIBS)
  100.