########################################################################
# gcc on Linux for x86 Win95 #
##############################
LIB = ../logic.a
  CROSS = /home/mingw/bin/i386-mingw32msvc-
  FC = $(CROSS)g77 -fno-backslash
  LOCALFC = g77
  CC = $(CROSS)gcc 
  AR = $(CROSS)ar
  RANLIB = $(CROSS)ranlib 
  F2CLIB = 

# at present, can't build shared library
#TARGETS = tcl_shell tk_shell
#TARGETS = logic_share

# exe suffix 
EXESUFFIX = .exe
# use next line for debugging only
#  DBG= -g -Wall
# options for C <-> Fortran naming
NAMEOPTION = -DTWOSCORE -DBIT32
CFLAGS = $(DBG) $(NAMEOPTION) -c 
FFLAGS = $(DBG) -c
# shared library options
SHSUFFIX = dll
# command to build shared libraries
SHARECMD = $(FC) -shared  -Wl,--export-all-symbols 
# locations for TCL include files -- system dependent
TCL_CFLAGS =  -I../tcltk823/include -I/home/mingw/include
# libraries needed for linking
TCLLIBS =  -L../tcltk823/lib -ltcl82  -ltcl82 $(F2CLIB)
TKLIBS = -L../tcltk823/lib -ltcl82  -ltk82 -ltcl82 $(F2CLIB)
# libraries needed to build shared libraries
SHARELIB = $(TCLLIBS)
########################################################################
# change this if -D is not the command line option to define preprocessor
# options from the command line (it is needed to include Tk into logic_shell.c)
TK_CFLAGS = -DLOGIC_TK
#
