#  Makefile_inc from ObjectProDSP 0.1
#  Copyright (C) 1994, Mountain Math Software, All rights reserved.
#  Licensed for free use and distribution under version 2 of the Gnu General
#  Public License. Please see file COPYING for details and restrictions.
#  
#  ObjectProDSP is a trademark of Mountain Math Software.
#  

# -d generates rd_scr.tab.h, -v generates y.output
../rd_scr.tab.h ../rd_scr.tab.C: ../rd_scr.y 
	bison -d ../rd_scr.y
	mv ../rd_scr.tab.c ../rd_scr.tab.C

yacc.line : ../rd_scr.tab.C
	fgrep -v '# line' ../rd_scr.tab.C > ytab.C
	mv ytab.C ../rd_scr.tab.C
	make rd_scr.tab.o

../lex.yy.C: ../rd_scr.l
	flex ../rd_scr.l
	mv lex.yy.c ../lex.yy.C

