# GaMa Makefile generated by ./scripts/Build_GaMa
# on Wed Mar 19 13:39:46 CET 2003 by cepek
#

# ------  GNU Gama supported platforms  --------------------------------------
#
# $Id: Makefile,v 1.21 2003/12/28 23:28:57 uid66336 Exp $
#
#gnu           :#CC       = gcc
#gnu           :CFLAGS   += -pipe
#gnu           :#CXX      = g++
#gnu           :CXXFLAGS += -pipe -I../../.. #-Wall -pedantic
#gnu           :OBJ       = o
#gnu           :LIBR      = @ar -r gamalib.a
#gnu           :RANLIB    = ranlib gamalib.a
#gnu           :LINK      = $(CXX) #g++
#gnu           :LFLAGS   += -o
#gnu           :LIBS     += 
#gnu           :MAKE      = make
#gnu           :GAMALIB   = gamalib.a
#gnu           :P_GAMA_L  = gama-local
#              
#win32-borland :CC        = bcc32
#win32-borland :CFLAGS    = -A -Od -w-8008 -w-8065 -w-8066 -w-8057 
#win32-borland :CXX       = bcc32
#win32-borland :CXXFLAGS  = -I../../.. -w-8026 -w-8027 -w-8004 -tWR
#win32-borland :OBJ       = obj
#win32-borland :LIBR      = tlib /P4096 gamalib.lib +
#win32-borland :RANLIB    = rem
#win32-borland :LINK      = bcc32
#win32-borland :LFLAGS    = -E
#win32-borland :LIBS      = ../lib/gamalib.lib
#win32-borland :MAKE      = make
#win32-borland :GAMALIB   = gamalib.lib
#win32-borland :P_GAMA_L  = gama-local.exe
#
CC        = cl
CFLAGS    =
CXX       = cl
CXXFLAGS  = -I../../.. /nologo /W1 /GX /O2 /D "WIN32" \
            /D "NDEBUG" /D "_MBCS" /D "_LIB" /Zp1 /MT /GR
OBJ       = obj
LIBR      = rem link -lib gamalib.lib
RANLIB    = if not exist gamalib.lib \
            link -lib /out:gamalib.lib *.obj
LINK      = link
LFLAGS    = /out:
LIBS      = kernel32.lib user32.lib gdi32.lib winspool.lib  \
            comdlg32.lib advapi32.lib shell32.lib ole32.lib \
            oleaut32.lib uuid.lib odbc32.lib odbccp32.lib   \
            /nodefaultlib:libc /nologo /subsystem:console   \
            /incremental:no /machine:I386
MAKE      = nmake
GAMALIB   = gamalib.lib
P_GAMA_L  = gama-local.exe
#                            
# ----------------------------------------------------------------------------





all:
	cd lib
	$(MAKE)
	$(MAKE) -f Makefile-expat
	cd ..
	cd gama-local
	$(MAKE)
	cd ..
	cd gama-g3
	$(MAKE)
