home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / X / mit / demos / xgc / Imakefile < prev    next >
Encoding:
Makefile  |  1991-07-22  |  808 b   |  27 lines

  1. XCOMM $XConsortium: Imakefile,v 1.9 91/07/16 23:08:10 gildea Exp $
  2.         DEFINES = 
  3.            SRCS = dashlist.c planemask.c getfile.c tests.c text.c \
  4.                   choice.c main.c interpret.c record.c testfrac.c
  5.       OTHERSRCS = gram.y lex.l
  6.            OBJS = dashlist.o planemask.o getfile.o tests.o text.o \
  7.                   choice.o main.o interpret.o record.o testfrac.o \
  8.                   gram.o lex.o
  9. LOCAL_LIBRARIES = $(XAWLIB) $(XMULIB) $(XTOOLLIB) $(XLIB)
  10.         DEPLIBS = $(DEPXAWLIB) $(DEPXMULIB) $(DEPXTOOLLIB) $(DEPXLIB)
  11.   SYS_LIBRARIES = -lm
  12.          YFLAGS = -d
  13.  
  14. ComplexProgramTarget(xgc)
  15.  
  16. InstallAppDefaults(Xgc)
  17.  
  18. gram.h gram.c: gram.y
  19.     yacc -d gram.y
  20.     $(MV) y.tab.c gram.c
  21.     $(MV) y.tab.h gram.h
  22.  
  23. clean::
  24.     $(RM) y.tab.h y.tab.c lex.yy.c gram.h gram.c lex.c
  25.  
  26. depend:: lex.c gram.c
  27.