home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / x / volume18 / wclock / part01 / Makefile.std < prev    next >
Makefile  |  1992-07-13  |  1KB  |  47 lines

  1.  
  2.  ######################################################################
  3.  #                                                                    #
  4.  # Boring Makefile for wclock.                                        #
  5.  #                                                                    #
  6.  ######################################################################
  7.  
  8. WCLOCK=wclock
  9.  
  10. # places to put things. 
  11.  
  12. BINDIR=/usr/local/bin/X11
  13. MANDIR=/usr/man
  14. MANSEC=l
  15.  
  16. WCLOCK_SRC=wclock.c Wclock.c Outline.c
  17. WCLOCK_OBJ=$(WCLOCK_SRC:.c=.o)
  18.  
  19. LIBS= -lXaw -lXmu -lXt -lXext -lX11 -lm
  20.  
  21. # places to look for X things
  22.  
  23. INCLUDE_DIRS= -I/usr/local/include
  24. LIB_DIRS=
  25.  
  26. DEFINES=-DSHAPE
  27. CDEBUGFLAGS=-O
  28.  
  29. CFLAGS= $(CDEBUGFLAGS) $(DEFINES) $(INCLUDE_DIRS) $(LIB_DIRS)
  30.  
  31. wclock: $(WCLOCK_OBJ)
  32.     $(CC) $(CFLAGS) -o wclock $(WCLOCK_OBJ) $(LIBS)
  33.  
  34. Outline.o : Outline.c OutlineP.h Outline.h
  35. Wclock.o : Wclock.c WclockP.h Wclock.h Outline.h /usr/include/math.h
  36. wclock.o : wclock.c Wclock.h Outline.h patchlevel.h wclock.xbm wclock.mask
  37.  
  38. install: wclock wclock.man
  39.     install -s -m755 wclock $(BINDIR)
  40.     install -m644 wclock.man $(MANDIR)/man$(MANSEC)/wclock.$(MANSEC)
  41.  
  42. clean:
  43.     rm -f $(WCLOCK_OBJ) $(WCLOCK)
  44.  
  45. lint:
  46.     $(LINT) $(DEFINES) $(INCLUDES) $(WCLOCK_SRC)
  47.