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.20 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 27CXXFLAGS = -5 -O2 -w-par -w-csu -w-aus 28RM = del 29TOPDIR = .. 30DEFINES = -DNDEBUG -DFOX_BIGENDIAN=0 -DWIN32 -D_WINDOWS 31LD = bcc32 32LDFLAGS = -laa 33INCDIRS = -I$(TOPDIR)\include 34FOXLIB = $(TOPDIR)\src\FOX-1.4.lib 35RESWRAP = $(TOPDIR)\utils\reswrap.exe 36 37PROGRAMS = PathFinder.exe 38 39OBJECTS = \ 40 PathFinder.obj \ 41 PropertyDialog.obj \ 42 Preferences.obj \ 43 CopyDialog.obj \ 44 icons.obj 45 46ICONS = \ 47 bigicons.bmp \ 48 closepanel.gif \ 49 clrbook.gif \ 50 copy.bmp \ 51 copyit.gif \ 52 cut.bmp \ 53 deleteit.bmp \ 54 desktop.bmp \ 55 details.bmp \ 56 dirup.bmp \ 57 enter.gif \ 58 file_gif.gif \ 59 foxbig.gif \ 60 foxmini.gif \ 61 goback.bmp \ 62 goforw.bmp \ 63 gotodir.bmp \ 64 home.gif \ 65 hosts.bmp \ 66 iconpath.gif \ 67 linkit.gif \ 68 location.gif \ 69 maphost.bmp \ 70 moveit.gif \ 71 paste.bmp \ 72 pattern_gif.gif \ 73 properties.bmp \ 74 quit_gif.gif \ 75 renameit.gif \ 76 rotateleft.gif \ 77 rotateright.gif \ 78 setbook.gif \ 79 smallicons.bmp \ 80 unmaphost.bmp \ 81 work.gif 82 83.cpp.obj: 84 $(CXX) -c $(INCDIRS) $(CXXFLAGS) $(DEFINES) $*.cpp 85 86all: $(PROGRAMS) 87 88pathfinder.exe: $(OBJECTS) $(FOXLIB) 89 $(LD) $(LDFLAGS) $(OBJECTS) $(FOXLIB) 90 91PathFinder.obj: icons.h icons.cpp 92 93icons.h: $(ICONS) 94 $(RESWRAP) -i -o icons.h $** 95 96icons.cpp: $(ICONS) 97 $(RESWRAP) -e -o icons.cpp $** 98 99clean: 100 $(RM) *.obj 101 $(RM) *.exe 102 $(RM) *.tds 103 $(RM) icons.cpp 104 $(RM) icons.h 105