home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 410.lha / UUJoin_v1.01 / makefile < prev    next >
Makefile  |  1990-09-05  |  1KB  |  53 lines

  1. # Default Aztec C makefile
  2. #
  3. #
  4. # Define INCDIR to be the name of the directory where FileScan.h is stored,
  5. # If it's not in your normal include path. Otherwise, remove the -I
  6. # option from the compiler flags.
  7.  
  8. INCDIR = src:mrrlib
  9.  
  10. # Debug version
  11. #CFLAGS = -DAMIGA -pa -pc -bs -I$(INCDIR)
  12. #LFLAGS = -g
  13.  
  14. # Non-debug version:
  15. CFLAGS = -DAMIGA -pa -pc -so -I$(INCDIR)
  16. LFLAGS = 
  17.  
  18. PROGRAM=UUJoin
  19. SHARFILES = $(PROGRAM).ReadMe $(PROGRAM).uue $(PROGRAM).c makefile \
  20.             FileScan.c FileScan.h xbin.c xbin.uue
  21.  
  22. ARCFILES =  $(PROGRAM).ReadMe $(PROGRAM) $(PROGRAM).c makefile \
  23.             FileScan.c FileScan.h xbin xbin.c
  24.  
  25. $(PROGRAM): $(PROGRAM).o
  26.     ln $(LFLAGS) -o $(PROGRAM) $(PROGRAM).o FileScan.o -lc 
  27.  
  28. xbin:   xbin.o
  29.     ln -o xbin xbin.o -lc
  30.  
  31. xbin.o: xbin.c
  32.     cc $(CFLAGS) -DMAXNAMLEN=32 xbin.c
  33.  
  34. shar: $(SHARFILES)
  35.     makekit -n UUJOIN $(SHARFILES)
  36.     rm FileScan.*
  37.  
  38. arc:    $(ARCFILES)
  39.     delete ($(PROGRAM).lzw)
  40.     lharc -xa a $(PROGRAM).lzw $(ARCFILES)
  41.  
  42. $(PROGRAM).uue: $(PROGRAM)
  43.     uuencode >$(PROGRAM).uue $(PROGRAM) $(PROGRAM)
  44.  
  45. xbin.uue: xbin
  46.     uuencode >xbin.uue xbin xbin
  47.  
  48. FileScan.c: src:MRRLib/FileScan.c
  49.     cp src:MRRLib/FileScan.c FileScan.c
  50.  
  51. FileScan.h: src:MRRLib/FileScan.h
  52.     cp src:MRRLib/FileScan.h FileScan.h
  53.