home *** CD-ROM | disk | FTP | other *** search
/ Amiga MA Magazine 1998 #6 / amigamamagazinepolishissue1998.iso / cdrom / mkisofs.105 / source / makefile.in < prev    next >
Makefile  |  1977-12-31  |  1KB  |  52 lines

  1. #CFLAGS=-g -Wall -c
  2. #CC=gcc
  3.  
  4. #
  5. # XCFLAGS is automatically set by Configure.
  6. #
  7. XCFLAGS=
  8. CFLAGS=-g -c $(XCFLAGS)
  9. LDFLAGS=
  10. OBJS=mkisofs.o tree.o write.o hash.o rock.o exclude.o
  11.  
  12. World: mkisofs
  13.  
  14. Makefile: Makefile.in Configure
  15.     ./Configure
  16.     echo "Type make again to build mkisofs."
  17.  
  18. mkisofs: Makefile $(OBJS) 
  19.     $(CC) $(LDFLAGS) -o mkisofs  $(OBJS)
  20.  
  21. install: mkisofs mkisofs.8
  22.     strip mkisofs
  23.     cp mkisofs /usr/bin/
  24.     if [ -d /usr/man/man8 ]; then cp mkisofs.8 /usr/man/man8/; fi
  25.  
  26. tree.o: tree.c mkisofs.h iso9660.h exclude.h
  27.     $(CC) $(CFLAGS) tree.c
  28.  
  29. write.o: write.c mkisofs.h iso9660.h
  30.     $(CC) $(CFLAGS) write.c
  31.  
  32. hash.o: hash.c mkisofs.h 
  33.     $(CC) $(CFLAGS) hash.c
  34.  
  35. rock.o: rock.c mkisofs.h iso9660.h
  36.     $(CC) $(CFLAGS) rock.c
  37.  
  38. exclude.o: exclude.c exclude.h
  39.     $(CC) $(CFLAGS) exclude.c
  40.  
  41. mkisofs.o: mkisofs.c iso9660.h mkisofs.h exclude.h
  42.     $(CC) $(CFLAGS) mkisofs.c
  43.  
  44. clean:
  45.     /bin/rm -f *.o core mkisofs *~ #*#
  46.     (cd diag/; make clean)
  47.     (cd cdwrite/; make clean)
  48.  
  49. dist:
  50.     tar -cvf - README Configure Makefile.in make.com TODO  COPYING  ChangeLog *.8 *.c *.h diag cdwrite.old cdwrite-1.5 | gzip > mkisofs-1.05.tar.gz
  51.  
  52.