#
#   Creation Date: <1999/03/28 04:20:31 samuel>
#   Time-stamp: <2000/10/28 17:54:32 samuel>
#   
#	<Makefile>
#	
#	Rules for "drivers/parser" folder
#   
#   Copyright (C) 2000 Samuel Rydh (samuel@ibrium.se)
#   
#   This program is free software; you can redistribute it and/or
#   modify it under the terms of the GNU General Public License
#   as published by the Free Software Foundation
#

BISON =         bison -d
FLEX =          flex

CFLAGS_EXTRA 	= $(CFLAGS_MM) -I$(SHEADERS_PATH) -I./include -I../include
#SUB_DIRS 	= 
P_TARGET 	= molvconfig
O_OBJS 		= main.o vmodeparser.o modes.tab.o lex.yy.o ../emulation/obj/res_manager.o

CLEAN_FILES	= modes.tab.c modes.tab.h lex.yy.c

include ../Rules.make

modes.tab.c:	modes.y
	$(BISON) modes.y

lex.yy.c:	modes.l
	$(FLEX) modes.l

obj/modes.tab.o: modes.tab.c
obj/lex.yy.o: lex.yy.c

