
##  ------------------------------------------------------------------
##  The Goldware Utilities. Copyright (C) Odinn Sorensen.
##  ------------------------------------------------------------------
##  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; either version 2 of the
##  License, or (at your option) any later version.
##
##  This program is distributed in the hope that it will be useful,
##  but WITHOUT ANY WARRANTY; without even the implied warranty of
##  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
##  General Public License for more details.
##
##  You should have received a copy of the GNU General Public License
##  along with this program; if not, write to the Free Software
##  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
##  ------------------------------------------------------------------
##  $Id: Makefile,v 1.4 1999/01/06 23:59:34 damware Exp $
##  ------------------------------------------------------------------
##  Target makefile.
##  ------------------------------------------------------------------


##  ------------------------------------------------------------------

bcd :
	@bcc -w+ -K -egbldbcd -I..\goldlib\gall gbuild.cpp > bldbcc.lst

bco :
	@bcc -w+ -K -egbldbco -I..\goldlib\gall gbuild.cpp > bldbcc.lst

bcx :
	@bcc32 -WC -x- -w+ -K -egbldbcx -I..\goldlib\gall gbuild.cpp > bldbcc.lst

##  ------------------------------------------------------------------

djg :
	@gcc -s -O2 -funsigned-char -Wall -I../goldlib/gall -o gblddjg gbuild.cpp -lstdcxx

emx :
	@gcc -s -O2 -funsigned-char -Wall -I../goldlib/gall -o gbldemx gbuild.cpp

lnx :
	@g++ -s -O2 -funsigned-char -Wall -I../goldlib/gall -o gbldlnx gbuild.cpp

rsx :
	@gcc -s -O2 -funsigned-char -Wall -I../goldlib/gall -o gbldrsx gbuild.cpp

##  ------------------------------------------------------------------

wcn : $(SYMBOLIC)
	@wcl386 /l=nt /bt=nt /fe=gbldwcn gbuild.cpp > bldwcc.lst

wco : $(SYMBOLIC)
	@wcl386 /l=os2v2 /bt=os2v2 /fe=gbldwco gbuild.cpp > bldwcc.lst

wcx : $(SYMBOLIC)
	@wcl386 /l=dos4g /bt=dos4g /fe=gbldwcx gbuild.cpp > bldwcc.lst

##  ------------------------------------------------------------------

clean : $(SYMBOLIC)
	@rm bld*.inc bld*.lnk bld*.lst *.bak *.map *.obj *.o

##  ------------------------------------------------------------------

