| 1 |
.cpp.obj: |
| 2 |
wcl386 -c -xs $*.cpp |
| 3 |
|
| 4 |
|
| 5 |
DIFF = sdiff |
| 6 |
PRE = |
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
everything: tryrand.exe tryurng.exe geturng.exe nr_ex.exe test_lg.exe |
| 12 |
|
| 13 |
newran_lobj = newran1.obj newran2.obj myexcept.obj simpstr.obj extreal.obj |
| 14 |
|
| 15 |
newran_pobj = +newran1.obj +newran2.obj +myexcept.obj +simpstr.obj +extreal.obj |
| 16 |
|
| 17 |
newran.lib: $(newran_lobj) |
| 18 |
wlib -n $@ $(newran_pobj) |
| 19 |
|
| 20 |
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 |
| 21 |
|
| 22 |
tryrand.exe: $(tryrand_obj) newran.lib |
| 23 |
wcl386 -fe=$@ $(tryrand_obj) newran.lib |
| 24 |
|
| 25 |
tryurng_obj = tryurng.obj format.obj tryurng1.obj utility.obj test_out.obj str.obj |
| 26 |
|
| 27 |
tryurng.exe: $(tryurng_obj) newran.lib |
| 28 |
wcl386 -fe=$@ $(tryurng_obj) newran.lib |
| 29 |
|
| 30 |
geturng_obj = geturng.obj |
| 31 |
|
| 32 |
geturng.exe: $(geturng_obj) newran.lib |
| 33 |
wcl386 -fe=$@ $(geturng_obj) newran.lib |
| 34 |
|
| 35 |
nr_ex_obj = nr_ex.obj |
| 36 |
|
| 37 |
nr_ex.exe: $(nr_ex_obj) newran.lib |
| 38 |
wcl386 -fe=$@ $(nr_ex_obj) newran.lib |
| 39 |
|
| 40 |
test_lg_obj = test_lg.obj format.obj str.obj |
| 41 |
|
| 42 |
test_lg.exe: $(test_lg_obj) newran.lib |
| 43 |
wcl386 -fe=$@ $(test_lg_obj) newran.lib |
| 44 |
|
| 45 |
newran1.obj: newran1.cpp include.h newran.h myexcept.h extreal.h simpstr.h |
| 46 |
|
| 47 |
newran2.obj: newran2.cpp include.h newran.h myexcept.h extreal.h simpstr.h |
| 48 |
|
| 49 |
myexcept.obj: myexcept.cpp include.h myexcept.h |
| 50 |
|
| 51 |
simpstr.obj: simpstr.cpp include.h myexcept.h simpstr.h |
| 52 |
|
| 53 |
extreal.obj: extreal.cpp include.h extreal.h |
| 54 |
|
| 55 |
tryrand.obj: tryrand.cpp include.h newran.h format.h utility.h tryrand.h myexcept.h extreal.h simpstr.h str.h |
| 56 |
|
| 57 |
format.obj: format.cpp include.h str.h format.h myexcept.h |
| 58 |
|
| 59 |
utility.obj: utility.cpp include.h myexcept.h utility.h format.h str.h |
| 60 |
|
| 61 |
tryrand1.obj: tryrand1.cpp include.h newran.h format.h utility.h tryrand.h myexcept.h extreal.h simpstr.h str.h |
| 62 |
|
| 63 |
tryrand2.obj: tryrand2.cpp include.h newran.h format.h utility.h tryrand.h myexcept.h extreal.h simpstr.h str.h |
| 64 |
|
| 65 |
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 |
| 66 |
|
| 67 |
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 |
| 68 |
|
| 69 |
tryrand5.obj: tryrand5.cpp include.h newran.h format.h tryrand.h utility.h myexcept.h extreal.h simpstr.h str.h |
| 70 |
|
| 71 |
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 |
| 72 |
|
| 73 |
str.obj: str.cpp include.h str.h myexcept.h |
| 74 |
|
| 75 |
test_out.obj: test_out.cpp include.h str.h utility.h test_out.h format.h myexcept.h |
| 76 |
|
| 77 |
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 |
| 78 |
|
| 79 |
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 |
| 80 |
|
| 81 |
geturng.obj: geturng.cpp include.h newran.h myexcept.h extreal.h simpstr.h |
| 82 |
|
| 83 |
nr_ex.obj: nr_ex.cpp newran.h include.h myexcept.h extreal.h simpstr.h |
| 84 |
|
| 85 |
test_lg.obj: test_lg.cpp include.h format.h newran.h str.h myexcept.h extreal.h simpstr.h |
| 86 |
|
| 87 |
tryrand.txx: tryrand.exe |
| 88 |
$(PRE)tryrand > tryrand.txx |
| 89 |
$(DIFF) tryrand.txt tryrand.txx |
| 90 |
|
| 91 |
tryurng.txx: tryurng.exe |
| 92 |
$(PRE)tryurng > tryurng.txx |
| 93 |
$(DIFF) tryurng.txt tryurng.txx |
| 94 |
|
| 95 |
geturng.txx: geturng.exe |
| 96 |
$(PRE)geturng > geturng.txx |
| 97 |
$(DIFF) geturng.txt geturng.txx |
| 98 |
|
| 99 |
nr_ex.txx: nr_ex.exe |
| 100 |
$(PRE)nr_ex > nr_ex.txx |
| 101 |
$(DIFF) nr_ex.txt nr_ex.txx |
| 102 |
|
| 103 |
test_lg.txx: test_lg.exe |
| 104 |
$(PRE)test_lg > test_lg.txx |
| 105 |
$(DIFF) test_lg.txt test_lg.txx |
| 106 |
|