        DEFINES = 
           SRCS = dashlist.c planemask.c getfile.c tests.c text.c \
                  choice.c main.c interpret.c record.c testfrac.c
      OTHERSRCS = gram.y lex.l
           OBJS = dashlist.o planemask.o getfile.o tests.o text.o \
                  choice.o main.o interpret.o record.o testfrac.o \
                  gram.o lex.o
LOCAL_LIBRARIES = $(XAWLIB) $(XMULIB) $(XTOOLLIB) $(XLIB)
        DEPLIBS = $(DEPXAWLIB) $(DEPXMULIB) $(DEPXTOOLLIB) $(DEPXLIB)
  SYS_LIBRARIES = -lm
         YFLAGS = -d

ComplexProgramTarget(xgc)

InstallAppDefaults(Xgc)

gram.h gram.c: gram.y
	yacc -d gram.y
	$(MV) y.tab.c gram.c
	$(MV) y.tab.h gram.h

clean::
	$(RM) y.tab.h y.tab.c lex.yy.c gram.h gram.c lex.c

depend:: lex.c gram.c
