
# Create configuration files

__NT__=1        # so allmake.mak doesn't complain
!include "allmake.mak"

all:    w32bor.cfg w64bor.cfg

w32bor.cfg:     makefile allmake.mak __bor.cfg
        copy __bor.cfg $@
        echo -nbor.w32                                  >>$@
w64bor.cfg:     makefile allmake.mak __bor.cfg
        copy __bor.cfg $@
        echo -nbor.w64                                  >>$@

__bor.cfg: makefile allmake.mak
   @copy &&|
;this file is generated by make, don't edit
-I$(IDA)include
-I$(BCDIR)include
-L$(IDA)libbor.w32
-L$(BCDIR)lib
;      Alignment 1 byte - for compatibility
-a1
;       Generate for 586
-5
;       No autodependency output
-X
;       Generate fastest code
-O2
;       Force C++ compile
-P
;       Merge duplicate strings
-d
;       Exception handling
-x
-xp
;       Enable RTTI
-RT
;       Multi-thread
-tWM
;       Enable inline functions
-vi
;       No standard stack frame
-k-
;       All warnings on
-w
;       turn off: precision loss
-w-sig
;       turn off: negating unsigned value
-w-ngu
;  off: comparing signed/unsigned values
-w-csu
; structure packing size changed
-w-8059
; variable is declared but not used [bcb6 complains about const variables :(]
-w-8080
;
-DMAXSTR=1024
-DNO_TV_STREAMS
-D__NT__
;       Output directory
| $@
