1############################################################################## 2# # 3# FOX: A Free C++ Class Library for X # 4# # 5############################################################################## 6# Copyright (C) 1997,2005 by Jeroen van der Zijp. All Rights Reserved. # 7############################################################################## 8# $Id: Makefile.bc,v 1.9 2005/02/04 04:33:19 fox Exp $ # 9############################################################################## 10# This library is free software; you can redistribute it and/or # 11# modify it under the terms of the GNU Library General Public # 12# License as published by the Free Software Foundation; either # 13# version 2 of the License, or (at your option) any later version. # 14# # 15# This library is distributed in the hope that it will be useful, # 16# but WITHOUT ANY WARRANTY; without even the implied warranty of # 17# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # 18# Library General Public License for more details. # 19# # 20# You should have received a copy of the GNU Library General Public # 21# License along with this library; if not, write to the Free # 22# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. # 23############################################################################## 24 25# For use with Borland C++ Builder 3 or later 26CXX = bcc32 27TOPDIR = .. 28CXXFLAGS = -5 -O2 29LDFLAGS = 30DEFINES = -DNDEBUG -DWIN32 -DFOX_BIGENDIAN=0 31INCDIRS = -I$(TOPDIR)/include 32 33.SUFFIXES: .cpp .c 34 35PROGRAMS = reswrap.exe 36 37SOURCES = reswrap.cpp 38 39OBJECTS = $(SOURCES:.cpp=.obj) 40 41.cpp.obj: 42 $(CXX) -c $(INCDIRS) $(CXXFLAGS) $(DEFINES) $*.cpp 43 44all: $(PROGRAMS) 45 46reswrap.exe: reswrap.obj 47 $(CXX) $(LDFLAGS) $(LIBDIRS) reswrap.obj 48 49clean: 50 del *.obj 51 del *.exe 52 del *.tds 53