
# $Id: Makefile,v 1.4 1996/07/18 10:19:24 aml Exp $

TARGET = none

TCLSOURCES = 


OBJECTS = 

CCSOURCES = 
INCLUDES = utils.hh string.hh defines.hh
CSOURCES = 
OTHERSOURCES = 
DOCS = ToDo
OTHERDIRS = bitmaps RCS
SOURCES = $(CSOURCES) $(OTHERSOURCES)
IDIR = ../include


LIBS = 

CC = gcc
CCC = g++
CPP=g++ -E
YACC = bison
LEX = flex
CCFLAGS = -g 
IFLAGS = -I$(IDIR)
LFLAGS = -L/usr/local/tcl/lib -L/usr/local/tk/lib -L. 

$(TARGET) : 
	

clean:
	rm -f *.o *~

depend dep: 
#	$(CPP) -M $(CCFLAGS) $(IFLAGS) $(CCSOURCES) $(CSOURCES) > .depend

.cc.o:
	$(CCC) $(CCFLAGS)  $(IFLAGS) -c $<

.c.o:
	$(CC) $(CCFLAGS)  $(IFLAGS) -c $<

scan.c: scan.l
	$(LEX) -i -t scan.l > scan.c

gram.o: gram.c
	$(CCC) $(IFLAGS) -g -x c++ gram.c -o gram.o -c

gram.c: gram.y scan.c
	$(YACC) -d gram.y -o gram.c

#
# include a dependency file if one exists
#
ifeq (.depend,$(wildcard .depend))
include .depend
endif

# $Log: Makefile,v $
# Revision 1.4  1996/07/18  10:19:24  aml
# Created formats for cells.
# Load cell now makes copy of old file.
#
# Revision 1.3  1996/01/07  09:07:32  aml
# Sheet::save and Sheet::load created.
# Program can now write and read wk1 files.
# Slight changes made to relative references. Bit 14 is now always 0.
#
# Revision 1.2  1995/12/14  12:13:06  aml
# Version 0.4.2
#
# Revision 1.1  1995/12/13  14:36:12  aml
# Initial revision
#
# Revision 1.14  1995/10/23  23:09:19  aml
# Version 2.0.1
#
# Revision 1.13  1995/09/18  09:25:21  aml
# Last working release with inline expressions.
# Move to wk1 format will start after this.
#
# Revision 1.12  1995/08/18 19:37:40  aml
# Modularized to allow for multiple spreadsheets.
# Introduced bindings for cursors in main canvas.
# Introduced range_opers. Copy redone, cut created.
# Automatic positioning of active cell.
#
# Revision 1.11  1995/08/09 21:13:13  aml
# Created modular toolbars
# Changes in mouse state machine
# Completed format toolbar
#
# Revision 1.10  1995/08/09 03:41:26  aml
# Changed to tk4.0
# Changed mouse state machine to use right button
# Created standard and format toolbars.
#
# Revision 1.9  1995/08/08 02:36:15  aml
# Removed scan.c from C source files.
#
# Revision 1.8  1995/08/08 02:26:36  aml
# Fixed evaluation for loop-free spreadsheets.
# Got first version of cursor state machine working.
#
# Revision 1.7  1995/06/26  22:53:43  aml
# Bug
#
# Revision 1.6  1995/06/26  22:52:19  aml
# Change to C++
#
# Revision 1.5  1995/06/26  22:51:08  aml
# Change to C++
#
# Revision 1.4  1995/06/25  09:49:22  aml
# Minor fixes
#
# Revision 1.3  1995/06/25  00:32:39  aml
# Fixed Includes
#
# Revision 1.2  1995/06/25  00:09:10  aml
# First version of copy.
#
# Revision 1.1  1995/06/23  15:39:16  aml
# Initial revision
#
