DOBJ = obj/
CFLAGS =
LDFLAGS = 
YFLAGS = 
CC = cc

OBJS=  \
		$(DOBJ)geolex.o


$(DOBJ)geolex.o: 	geolex.l \
			geolex.h
	lex $(YFLAGS) geolex.l
	mv lex.yy.c geolex.c
	$(CC) $(CFLAGS) -c geolex.c -o $(DOBJ)geolex.o
	$(RM) geolex.c

clean: 
	$(RM) $(DOBJ)* core *~








