| 1 |
BORLANDPATH = "C:\program files\Borland\cbuilder6" |
| 2 |
|
| 3 |
TASM = TASM32 |
| 4 |
TLIB = tlib |
| 5 |
TLINK = ilink32 |
| 6 |
LIBPATH = $(BORLANDPATH)\LIB |
| 7 |
INCLUDEPATH = $(BORLANDPATH)\INCLUDE |
| 8 |
|
| 9 |
DIFF = sdiff |
| 10 |
PRE = |
| 11 |
|
| 12 |
CC = bcc32 -W- -v- -H- -6 -Og -Oi -Ov -I$(INCLUDEPATH) |
| 13 |
|
| 14 |
.cpp.obj: |
| 15 |
$(CC) -c {$< } |
| 16 |
|
| 17 |
everything: tryrand.exe tryurng.exe geturng.exe nr_ex.exe test_lg.exe |
| 18 |
|
| 19 |
newran_lobj = newran1.obj newran2.obj myexcept.obj simpstr.obj extreal.obj |
| 20 |
|
| 21 |
newran.lib: $(newran_lobj) |
| 22 |
$(TLIB) $@ /P32 /u $(newran_lobj) |
| 23 |
|
| 24 |
tryrand_obj = tryrand.obj format.obj utility.obj tryrand1.obj tryrand2.obj tryrand3.obj tryrand4.obj tryrand5.obj tryrand6.obj str.obj test_out.obj |
| 25 |
|
| 26 |
tryrand.exe: $(tryrand_obj) newran.lib |
| 27 |
$(TLINK) /x/L$(LIBPATH)/Gn -Tpe -ap -c @&&| |
| 28 |
c0x32.obj $(tryrand_obj),$@,, newran.lib import32.lib cw32.lib |
| 29 |
| |
| 30 |
|
| 31 |
tryurng_obj = tryurng.obj format.obj tryurng1.obj utility.obj test_out.obj str.obj |
| 32 |
|
| 33 |
tryurng.exe: $(tryurng_obj) newran.lib |
| 34 |
$(TLINK) /x/L$(LIBPATH)/Gn -Tpe -ap -c @&&| |
| 35 |
c0x32.obj $(tryurng_obj),$@,, newran.lib import32.lib cw32.lib |
| 36 |
| |
| 37 |
|
| 38 |
geturng_obj = geturng.obj |
| 39 |
|
| 40 |
geturng.exe: $(geturng_obj) newran.lib |
| 41 |
$(TLINK) /x/L$(LIBPATH)/Gn -Tpe -ap -c @&&| |
| 42 |
c0x32.obj $(geturng_obj),$@,, newran.lib import32.lib cw32.lib |
| 43 |
| |
| 44 |
|
| 45 |
nr_ex_obj = nr_ex.obj |
| 46 |
|
| 47 |
nr_ex.exe: $(nr_ex_obj) newran.lib |
| 48 |
$(TLINK) /x/L$(LIBPATH)/Gn -Tpe -ap -c @&&| |
| 49 |
c0x32.obj $(nr_ex_obj),$@,, newran.lib import32.lib cw32.lib |
| 50 |
| |
| 51 |
|
| 52 |
test_lg_obj = test_lg.obj format.obj str.obj |
| 53 |
|
| 54 |
test_lg.exe: $(test_lg_obj) newran.lib |
| 55 |
$(TLINK) /x/L$(LIBPATH)/Gn -Tpe -ap -c @&&| |
| 56 |
c0x32.obj $(test_lg_obj),$@,, newran.lib import32.lib cw32.lib |
| 57 |
| |
| 58 |
|
| 59 |
newran1.obj: newran1.cpp include.h newran.h myexcept.h extreal.h simpstr.h |
| 60 |
|
| 61 |
newran2.obj: newran2.cpp include.h newran.h myexcept.h extreal.h simpstr.h |
| 62 |
|
| 63 |
myexcept.obj: myexcept.cpp include.h myexcept.h |
| 64 |
|
| 65 |
simpstr.obj: simpstr.cpp include.h myexcept.h simpstr.h |
| 66 |
|
| 67 |
extreal.obj: extreal.cpp include.h extreal.h |
| 68 |
|
| 69 |
tryrand.obj: tryrand.cpp include.h newran.h format.h utility.h tryrand.h myexcept.h extreal.h simpstr.h str.h |
| 70 |
|
| 71 |
format.obj: format.cpp include.h str.h format.h myexcept.h |
| 72 |
|
| 73 |
utility.obj: utility.cpp include.h myexcept.h utility.h format.h str.h |
| 74 |
|
| 75 |
tryrand1.obj: tryrand1.cpp include.h newran.h format.h utility.h tryrand.h myexcept.h extreal.h simpstr.h str.h |
| 76 |
|
| 77 |
tryrand2.obj: tryrand2.cpp include.h newran.h format.h utility.h tryrand.h myexcept.h extreal.h simpstr.h str.h |
| 78 |
|
| 79 |
tryrand3.obj: tryrand3.cpp include.h newran.h format.h tryrand.h utility.h test_out.h myexcept.h extreal.h simpstr.h str.h |
| 80 |
|
| 81 |
tryrand4.obj: tryrand4.cpp include.h newran.h str.h test_out.h format.h tryrand.h utility.h array.h myexcept.h extreal.h simpstr.h |
| 82 |
|
| 83 |
tryrand5.obj: tryrand5.cpp include.h newran.h format.h tryrand.h utility.h myexcept.h extreal.h simpstr.h str.h |
| 84 |
|
| 85 |
tryrand6.obj: tryrand6.cpp include.h newran.h format.h tryrand.h utility.h test_out.h myexcept.h extreal.h simpstr.h str.h |
| 86 |
|
| 87 |
str.obj: str.cpp include.h str.h myexcept.h |
| 88 |
|
| 89 |
test_out.obj: test_out.cpp include.h str.h utility.h test_out.h format.h myexcept.h |
| 90 |
|
| 91 |
tryurng.obj: tryurng.cpp include.h newran.h format.h tryurng.h utility.h test_out.h myexcept.h extreal.h simpstr.h str.h |
| 92 |
|
| 93 |
tryurng1.obj: tryurng1.cpp include.h newran.h format.h tryurng.h utility.h test_out.h array.h myexcept.h extreal.h simpstr.h str.h |
| 94 |
|
| 95 |
geturng.obj: geturng.cpp include.h newran.h myexcept.h extreal.h simpstr.h |
| 96 |
|
| 97 |
nr_ex.obj: nr_ex.cpp newran.h include.h myexcept.h extreal.h simpstr.h |
| 98 |
|
| 99 |
test_lg.obj: test_lg.cpp include.h format.h newran.h str.h myexcept.h extreal.h simpstr.h |
| 100 |
|
| 101 |
tryrand.txx: tryrand.exe |
| 102 |
$(PRE)tryrand > tryrand.txx |
| 103 |
$(DIFF) tryrand.txt tryrand.txx |
| 104 |
|
| 105 |
tryurng.txx: tryurng.exe |
| 106 |
$(PRE)tryurng > tryurng.txx |
| 107 |
$(DIFF) tryurng.txt tryurng.txx |
| 108 |
|
| 109 |
geturng.txx: geturng.exe |
| 110 |
$(PRE)geturng > geturng.txx |
| 111 |
$(DIFF) geturng.txt geturng.txx |
| 112 |
|
| 113 |
nr_ex.txx: nr_ex.exe |
| 114 |
$(PRE)nr_ex > nr_ex.txx |
| 115 |
$(DIFF) nr_ex.txt nr_ex.txx |
| 116 |
|
| 117 |
test_lg.txx: test_lg.exe |
| 118 |
$(PRE)test_lg > test_lg.txx |
| 119 |
$(DIFF) test_lg.txt test_lg.txx |
| 120 |
|