Files
harbour-core/harbour/contrib/samples/makefile.bc
Viktor Szakats 65460d88a1 2007-04-01 13:47 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* harbour/makefile.bc
   * harbour/makefile.vc
   * harbour/config/rules.cf
   * harbour/contrib/btree/makefile.bc
   * harbour/contrib/htmllib/Makefile.bc
   * harbour/contrib/htmllib/makefile.vc
   * harbour/contrib/libct/makefile.bc
   * harbour/contrib/libct/makefile.vc
   * harbour/contrib/libgt/makefile.bc
   * harbour/contrib/libgt/makefile.vc
   * harbour/contrib/libmisc/makefile.bc
   * harbour/contrib/libmisc/makefile.vc
   * harbour/contrib/libnf/makefile.vc
   * harbour/contrib/libnf/nanfor.bc
   * harbour/contrib/samples/makefile.bc
   * harbour/contrib/samples/makefile.vc
   + harbour/contrib/samples/make_b32.bat
   + harbour/contrib/samples/make_vc.bat
   - harbour/contrib/samples/makevc.bat
     + -w default Harbour build switch changed to -w2,
       to further maintain code quality.
     ; Notice that CONTRIB might need some fixing here.
     + Added proper BC/VC make batch files for "samples".

   * harbour/include/hbclass.ch
   * harbour/source/debug/dbgmenu.prg
   * harbour/source/debug/debugger.prg
   * harbour/source/rtl/teditor.prg
   * harbour/utils/hbdoc/genchm.prg
   * harbour/utils/hbdoc/genhtm.prg
   * harbour/utils/hbdoc/genng.prg
   * harbour/utils/hbdoc/genos2.prg
   * harbour/utils/hbdoc/genpdf1.prg
   * harbour/utils/hbdoc/genrtf.prg
   * harbour/utils/hbdoc/os2.prg
   * harbour/utils/hbmake/hbmake.prg
   * harbour/utils/hbmake/radios.prg
   * harbour/utils/hbpptest/pretest.prg
   * harbour/utils/hbtest/rt_misc.prg
     + Added HB_SYMBOL_UNUSED() inside codeblocks.
     ! Removed a few uneeded codeblock parameters.
     + Added HB_SYMBOL_UNUSED() to some class syntax generated
       code to avoid unused "Self" var warnings.

   * harbour/ChangeLog.017
     ! Typos.
2007-04-01 12:04:58 +00:00

95 lines
2.2 KiB
Plaintext

#
# $Id$
#
#
# Makefile for Samples library for Borland C/C++ 3.x, 4.x, 5.x compilers
#
CC = bcc32
IL = implib
ID = impdef
# NOTE: Using TASM for some reason, this should be normally TASM32.
# I'll leave it to TASM until a better solution is found
AS = tasm
BIN_DIR = ..\..\bin\b32
OBJ_DIR = ..\..\obj\b32
LIB_DIR = ..\..\lib\b32
# This is needed, otherwise the libs may overflow when
# debug info is requested with -v -y
ARFLAGS = /P32
!if !$d(BCC_NOOPTIM)
CFLAGS = -O2 $(CFLAGS)
!endif
#
# Directory macros. These should never have to change.
#
INCLUDE_DIR = ..\..\include
SAMPLES_DIR = .
CFLAGS = -I$(INCLUDE_DIR) -d $(C_USR) $(CFLAGS)
CLIBFLAGS =$(CFLAGS)
HARBOUR_EXE = $(BIN_DIR)\harbour.exe
HARBOURFLAGS = -i$(INCLUDE_DIR) -n -q0 -w2 -es2 -gc0 $(PRG_USR) $(HARBOURFLAGS)
LDFLAGS = $(LDFLAGS)
#
# Macros to access our library names
#
SAMPLES_LIB = $(LIB_DIR)\samples.lib
SAMPLES_LIB_OBJS = \
$(OBJ_DIR)\environ.obj \
$(OBJ_DIR)\date.obj \
$(OBJ_DIR)\dbf.obj \
$(OBJ_DIR)\gauge.obj \
$(OBJ_DIR)\num.obj \
$(OBJ_DIR)\stack.obj \
$(OBJ_DIR)\status.obj \
$(OBJ_DIR)\time.obj
all: \
$(SAMPLES_LIB)
$(SAMPLES_LIB) = $(SAMPLES_LIB_OBJS)
$(SAMPLES_LIB) : $(SAMPLES_LIB_OBJS)
$(OBJ_DIR)\environ.obj : $(SAMPLES_DIR)\environ.c
$(CC) -c $(CLIBFLAGS) -o$@ $**
tlib $(SAMPLES_LIB) $(ARFLAGS) -+$@,,
$(OBJ_DIR)\date.obj : $(SAMPLES_DIR)\date.c
$(CC) -c $(CLIBFLAGS) -o$@ $**
tlib $(SAMPLES_LIB) $(ARFLAGS) -+$@,,
$(OBJ_DIR)\dbf.obj : $(SAMPLES_DIR)\dbf.c
$(CC) -c $(CLIBFLAGS) -o$@ $**
tlib $(SAMPLES_LIB) $(ARFLAGS) -+$@,,
$(OBJ_DIR)\gauge.obj : $(SAMPLES_DIR)\gauge.c
$(CC) -c $(CLIBFLAGS) -o$@ $**
tlib $(SAMPLES_LIB) $(ARFLAGS) -+$@,,
$(OBJ_DIR)\num.obj : $(SAMPLES_DIR)\num.c
$(CC) -c $(CLIBFLAGS) -o$@ $**
tlib $(SAMPLES_LIB) $(ARFLAGS) -+$@,,
$(OBJ_DIR)\stack.obj : $(SAMPLES_DIR)\stack.c
$(CC) -c $(CLIBFLAGS) -o$@ $**
tlib $(SAMPLES_LIB) $(ARFLAGS) -+$@,,
$(OBJ_DIR)\status.obj : $(SAMPLES_DIR)\status.c
$(CC) -c $(CLIBFLAGS) -o$@ $**
tlib $(SAMPLES_LIB) $(ARFLAGS) -+$@,,
$(OBJ_DIR)\time.obj : $(SAMPLES_DIR)\time.c
$(CC) -c $(CLIBFLAGS) -o$@ $**
tlib $(SAMPLES_LIB) $(ARFLAGS) -+$@,,