home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-385-Vol-1of3.iso / x / xdaliclk.zip / Makefile.simpl < prev    next >
Makefile  |  1992-06-10  |  1KB  |  34 lines

  1. # Makefile for xdaliclock, Copyright (c) 1991 Jamie Zawinski.
  2. #
  3. # If you don't have the SHAPE extension, you shouldn't pass -DSHAPE
  4. # and you don't need to link with -lXext.
  5. #
  6. # If your system doesn't have the select() system call, use -DNO_SELECT.
  7. # This will make the usleep() system call be used instead (this pauses
  8. # for the given number of microseconds).  If your system doesn't have
  9. # either select() or usleep(), you've got some hacking to do.  :-)
  10.  
  11. CC=        cc
  12. CFLAGS=        -O
  13. DEFINES=    -DBUILTIN_FONT -DSHAPE
  14. INCLUDES=    -I./numbers
  15. LIBS=        -lXext -lX11
  16. TAR=        tar
  17.  
  18. xdaliclock: xdaliclock.c defaults.h
  19.     $(CC) -o $@ $(DEFINES) $@.c $(CFLAGS) $(INCLUDES) $(LIBS)
  20.  
  21. VMSFILES= xdaliclock.opt xdaliclock_build.com
  22.  
  23. TARFILES= README xdaliclock.man Imakefile Makefile.simple \
  24.     xdaliclock.c defaults.h $(VMSFILES) numbers
  25.  
  26. uu:: xdaliclock.tar.Z.uu
  27.  
  28. xdaliclock.tar: $(TARFILES)
  29.     $(TAR) -vcf $@ $(TARFILES)
  30. xdaliclock.tar.Z: $(TARFILES)
  31.     $(TAR) -vcf - $(TARFILES) | compress > $@
  32. xdaliclock.tar.Z.uu: $(TARFILES)
  33.     $(TAR) -vcf - $(TARFILES) | compress | uuencode $(@:.uu=) > $@
  34.