Simple command line calculator http://amath.innolan.net
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

452 lines
22KB

  1. CC = m68k-amigaos-gcc
  2. CXX = m68k-amigaos-g++
  3. AR = m68k-amigaos-ar
  4. RANLIB = m68k-amigaos-ranlib
  5. CFLAGS = -m68020 -DWITHTEST -noixemul
  6. CXXFLAGS = -m68020 -DWITHTEST -noixemul -I.
  7. LFLAGS = -lstdc++ -lamathapp -lcamath -lcomplex -lamath
  8. FLXCAT = build/flexcat/flexcat
  9. MKDIR = mkdir
  10. COPY = cp
  11. DEL = rm -f
  12. DELREC = rm -Rf
  13. all: libs app
  14. libs: libamath libcomplex libcamath libamathapp
  15. evaluator.o: app/main/evaluator.cpp
  16. ${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/main/evaluator.cpp
  17. functions.o: app/main/functions.cpp
  18. ${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/main/functions.cpp
  19. graphlist.o: app/main/graphlist.cpp
  20. ${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/main/graphlist.cpp
  21. lexer.o: app/main/lexer.cpp
  22. ${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/main/lexer.cpp
  23. nodes.o: app/main/nodes.cpp
  24. ${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/main/nodes.cpp
  25. operators.o: app/main/operators.cpp
  26. ${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/main/operators.cpp
  27. optimizer.o: app/main/optimizer.cpp
  28. ${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/main/optimizer.cpp
  29. parser.o: app/main/parser.cpp
  30. ${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/main/parser.cpp
  31. statements.o: app/main/statements.cpp
  32. ${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/main/statements.cpp
  33. token.o: app/main/token.cpp
  34. ${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/main/token.cpp
  35. values.o: app/main/values.cpp
  36. ${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/main/values.cpp
  37. viewer.o: app/main/viewer.cpp
  38. ${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/main/viewer.cpp
  39. console.o: app/system/console.cpp
  40. ${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/system/console.cpp
  41. console_amiga.o: app/system/console_amiga.cpp
  42. ${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/system/console_amiga.cpp
  43. console_stdc.o: app/system/console_stdc.cpp
  44. ${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/system/console_stdc.cpp
  45. filesystem_amiga.o: app/system/filesystem_amiga.cpp
  46. ${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/system/filesystem_amiga.cpp
  47. filesystem_stdc.o: app/system/filesystem_stdc.cpp
  48. ${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/system/filesystem_stdc.cpp
  49. graph.o: app/system/graph.cpp
  50. ${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/system/graph.cpp
  51. graph_amiga.o: app/system/graph_amiga.cpp
  52. ${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/system/graph_amiga.cpp
  53. graph_gtk.o: app/system/graph_gtk.cpp
  54. ${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/system/graph_gtk.cpp
  55. language.o: app/system/language.cpp
  56. ${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/system/language.cpp
  57. language_amiga.o: app/system/language_amiga.cpp
  58. ${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/system/language_amiga.cpp
  59. language_posix.o: app/system/language_posix.cpp
  60. ${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/system/language_posix.cpp
  61. language_stdc.o: app/system/language_stdc.cpp
  62. ${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/system/language_stdc.cpp
  63. preferences.o: app/system/preferences.cpp
  64. ${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/system/preferences.cpp
  65. preferences_amiga.o: app/system/preferences_amiga.cpp
  66. ${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/system/preferences_amiga.cpp
  67. preferences_stdc.o: app/system/preferences_stdc.cpp
  68. ${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/system/preferences_stdc.cpp
  69. proc_amiga.o: app/system/proc_amiga.cpp
  70. ${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/system/proc_amiga.cpp
  71. program.o: app/system/program.cpp
  72. ${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/system/program.cpp
  73. program_amiga.o: app/system/program_amiga.cpp
  74. ${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/system/program_amiga.cpp
  75. program_stdc.o: app/system/program_stdc.cpp
  76. ${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/system/program_stdc.cpp
  77. program_test.o: app/system/program_test.cpp
  78. ${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/system/program_test.cpp
  79. task_amiga.o: app/system/task_amiga.cpp
  80. ${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/system/task_amiga.cpp
  81. task_stdc.o: app/system/task_stdc.cpp
  82. ${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/system/task_stdc.cpp
  83. window_amiga.o: app/system/window_amiga.cpp
  84. ${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/system/window_amiga.cpp
  85. io.o: app/system/base/io.cpp
  86. ${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/system/base/io.cpp
  87. main.o: app/main.cpp
  88. ${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/main.cpp
  89. aengine.o: app/lib/aengine.cpp
  90. ${CC} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/lib/aengine.cpp
  91. charbuf.o: app/lib/charbuf.cpp
  92. ${CC} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/lib/charbuf.cpp
  93. cplex.o: app/lib/cplex.cpp
  94. ${CC} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/lib/cplex.cpp
  95. fgrid.o: app/lib/fgrid.cpp
  96. ${CC} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/lib/fgrid.cpp
  97. ntext.o: app/lib/ntext.cpp
  98. ${CC} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/lib/ntext.cpp
  99. real.o: app/lib/real.cpp
  100. ${CC} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/lib/real.cpp
  101. acos.o: lib/real/acos.c
  102. ${CC} -O3 -std=c9x ${CLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/acos.c
  103. acosh.o: lib/real/acosh.c
  104. ${CC} -O3 -std=c9x ${CLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/acosh.c
  105. asin.o: lib/real/asin.c
  106. ${CC} -O3 -std=c9x ${CLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/asin.c
  107. asinh.o: lib/real/asinh.c
  108. ${CC} -O3 -std=c9x ${CLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/asinh.c
  109. atan.o: lib/real/atan.c
  110. ${CC} -O3 -std=c9x ${CLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/atan.c
  111. atan2.o: lib/real/atan2.c
  112. ${CC} -O3 -std=c9x ${CLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/atan2.c
  113. atanh.o: lib/real/atanh.c
  114. ${CC} -O3 -std=c9x ${CLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/atanh.c
  115. cbrt.o: lib/real/cbrt.c
  116. ${CC} -O3 -std=c9x ${CLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/cbrt.c
  117. ceil.o: lib/real/ceil.c
  118. ${CC} -O3 -std=c9x ${CLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/ceil.c
  119. copysign.o: lib/real/copysign.c
  120. ${CC} -O3 -std=c9x ${CLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/copysign.c
  121. cos.o: lib/real/cos.c
  122. ${CC} -O3 -std=c9x ${CLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/cos.c
  123. cosh.o: lib/real/cosh.c
  124. ${CC} -O3 -std=c9x ${CLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/cosh.c
  125. exp.o: lib/real/exp.c
  126. ${CC} -O3 -std=c9x ${CLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/exp.c
  127. expm1.o: lib/real/expm1.c
  128. ${CC} -O3 -std=c9x ${CLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/expm1.c
  129. fabs.o: lib/real/fabs.c
  130. ${CC} -O3 -std=c9x ${CLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/fabs.c
  131. finite.o: lib/real/finite.c
  132. ${CC} -O3 -std=c9x ${CLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/finite.c
  133. floor.o: lib/real/floor.c
  134. ${CC} -O3 -std=c9x ${CLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/floor.c
  135. fmod.o: lib/real/fmod.c
  136. ${CC} -O3 -std=c9x ${CLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/fmod.c
  137. hypot.o: lib/real/hypot.c
  138. ${CC} -O3 -std=c9x ${CLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/hypot.c
  139. isnan.o: lib/real/isnan.c
  140. ${CC} -O3 -std=c9x ${CLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/isnan.c
  141. kcos.o: lib/real/kcos.c
  142. ${CC} -O3 -std=c9x ${CLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/kcos.c
  143. kremp2.o: lib/real/kremp2.c
  144. ${CC} -O3 -std=c9x ${CLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/kremp2.c
  145. ksin.o: lib/real/ksin.c
  146. ${CC} -O3 -std=c9x ${CLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/ksin.c
  147. ktan.o: lib/real/ktan.c
  148. ${CC} -O3 -std=c9x ${CLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/ktan.c
  149. log.o: lib/real/log.c
  150. ${CC} -O3 -std=c9x ${CLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/log.c
  151. log10.o: lib/real/log10.c
  152. ${CC} -O3 -std=c9x ${CLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/log10.c
  153. log1p.o: lib/real/log1p.c
  154. ${CC} -O3 -std=c9x ${CLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/log1p.c
  155. pow.o: lib/real/pow.c
  156. ${CC} -O3 -std=c9x ${CLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/pow.c
  157. remp2.o: lib/real/remp2.c
  158. ${CC} -O3 -std=c9x ${CLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/remp2.c
  159. round.o: lib/real/round.c
  160. ${CC} -O3 -std=c9x ${CLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/round.c
  161. scalbn.o: lib/real/scalbn.c
  162. ${CC} -O3 -std=c9x ${CLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/scalbn.c
  163. sin.o: lib/real/sin.c
  164. ${CC} -O3 -std=c9x ${CLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/sin.c
  165. sinh.o: lib/real/sinh.c
  166. ${CC} -O3 -std=c9x ${CLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/sinh.c
  167. sqrt.o: lib/real/sqrt.c
  168. ${CC} -O3 -std=c9x ${CLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/sqrt.c
  169. tan.o: lib/real/tan.c
  170. ${CC} -O3 -std=c9x ${CLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/tan.c
  171. tanh.o: lib/real/tanh.c
  172. ${CC} -O3 -std=c9x ${CLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/tanh.c
  173. trunc.o: lib/real/trunc.c
  174. ${CC} -O3 -std=c9x ${CLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/trunc.c
  175. cacos.o: lib/cplex/cacos.c
  176. ${CC} -O3 -std=c9x ${CFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/cacos.c
  177. cacosh.o: lib/cplex/cacosh.c
  178. ${CC} -O3 -std=c9x ${CFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/cacosh.c
  179. cacot.o: lib/cplex/cacot.c
  180. ${CC} -O3 -std=c9x ${CFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/cacot.c
  181. cacoth.o: lib/cplex/cacoth.c
  182. ${CC} -O3 -std=c9x ${CFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/cacoth.c
  183. cacsc.o: lib/cplex/cacsc.c
  184. ${CC} -O3 -std=c9x ${CFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/cacsc.c
  185. cacsch.o: lib/cplex/cacsch.c
  186. ${CC} -O3 -std=c9x ${CFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/cacsch.c
  187. casec.o: lib/cplex/casec.c
  188. ${CC} -O3 -std=c9x ${CFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/casec.c
  189. casech.o: lib/cplex/casech.c
  190. ${CC} -O3 -std=c9x ${CFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/casech.c
  191. casin.o: lib/cplex/casin.c
  192. ${CC} -O3 -std=c9x ${CFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/casin.c
  193. casinh.o: lib/cplex/casinh.c
  194. ${CC} -O3 -std=c9x ${CFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/casinh.c
  195. catan.o: lib/cplex/catan.c
  196. ${CC} -O3 -std=c9x ${CFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/catan.c
  197. catanh.o: lib/cplex/catanh.c
  198. ${CC} -O3 -std=c9x ${CFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/catanh.c
  199. ccbrt.o: lib/cplex/ccbrt.c
  200. ${CC} -O3 -std=c9x ${CFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/ccbrt.c
  201. ccos.o: lib/cplex/ccos.c
  202. ${CC} -O3 -std=c9x ${CFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/ccos.c
  203. ccosh.o: lib/cplex/ccosh.c
  204. ${CC} -O3 -std=c9x ${CFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/ccosh.c
  205. ccot.o: lib/cplex/ccot.c
  206. ${CC} -O3 -std=c9x ${CFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/ccot.c
  207. ccoth.o: lib/cplex/ccoth.c
  208. ${CC} -O3 -std=c9x ${CFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/ccoth.c
  209. ccsc.o: lib/cplex/ccsc.c
  210. ${CC} -O3 -std=c9x ${CFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/ccsc.c
  211. ccsch.o: lib/cplex/ccsch.c
  212. ${CC} -O3 -std=c9x ${CFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/ccsch.c
  213. cexp.o: lib/cplex/cexp.c
  214. ${CC} -O3 -std=c9x ${CFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/cexp.c
  215. clog.o: lib/cplex/clog.c
  216. ${CC} -O3 -std=c9x ${CFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/clog.c
  217. clog10.o: lib/cplex/clog10.c
  218. ${CC} -O3 -std=c9x ${CFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/clog10.c
  219. clogb.o: lib/cplex/clogb.c
  220. ${CC} -O3 -std=c9x ${CFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/clogb.c
  221. cpow.o: lib/cplex/cpow.c
  222. ${CC} -O3 -std=c9x ${CFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/cpow.c
  223. csec.o: lib/cplex/csec.c
  224. ${CC} -O3 -std=c9x ${CFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/csec.c
  225. csech.o: lib/cplex/csech.c
  226. ${CC} -O3 -std=c9x ${CFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/csech.c
  227. csgn.o: lib/cplex/csgn.c
  228. ${CC} -O3 -std=c9x ${CFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/csgn.c
  229. csin.o: lib/cplex/csin.c
  230. ${CC} -O3 -std=c9x ${CFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/csin.c
  231. csinh.o: lib/cplex/csinh.c
  232. ${CC} -O3 -std=c9x ${CFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/csinh.c
  233. csqrt.o: lib/cplex/csqrt.c
  234. ${CC} -O3 -std=c9x ${CFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/csqrt.c
  235. ctan.o: lib/cplex/ctan.c
  236. ${CC} -O3 -std=c9x ${CFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/ctan.c
  237. ctanh.o: lib/cplex/ctanh.c
  238. ${CC} -O3 -std=c9x ${CFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/ctanh.c
  239. prim.o: lib/cplex/prim.c
  240. ${CC} -O3 -std=c9x ${CFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/prim.c
  241. alloccpy.o: lib/clib/alloccpy.c
  242. ${CC} -O3 -std=c9x ${CFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -c lib/clib/alloccpy.c
  243. mem.o: lib/clib/mem.c
  244. ${CC} -O3 -std=c9x ${CFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -c lib/clib/mem.c
  245. memcpy.o: lib/clib/memcpy.c
  246. ${CC} -O3 -std=c9x ${CFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -c lib/clib/memcpy.c
  247. memset.o: lib/clib/memset.c
  248. ${CC} -O3 -std=c9x ${CFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -c lib/clib/memset.c
  249. strcmp.o: lib/clib/strcmp.c
  250. ${CC} -O3 -std=c9x ${CFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -c lib/clib/strcmp.c
  251. strlen.o: lib/clib/strlen.c
  252. ${CC} -O3 -std=c9x ${CFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -c lib/clib/strlen.c
  253. untag.o: lib/clib/untag.c
  254. ${CC} -O3 -std=c9x ${CFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -c lib/clib/untag.c
  255. dragon4.o: lib/dconv/dragon4.cpp
  256. ${CXX} -O3 ${CXXFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/dconv -c lib/dconv/dragon4.cpp
  257. dmath.o: lib/dconv/dmath.cpp
  258. ${CXX} -O3 ${CXXFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/dconv -c lib/dconv/dmath.cpp
  259. dprint.o: lib/dconv/dprint.cpp
  260. ${CXX} -O3 ${CXXFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/dconv -c lib/dconv/dprint.cpp
  261. catalogsa:
  262. ${FLXCAT} text/keyword.cd app/localize/kword.h=text/keyword.sd
  263. ${FLXCAT} text/help.cd app/localize/help.h=text/help.sd
  264. ${FLXCAT} text/ident.cd app/localize/ident.h=text/ident.sd
  265. ${FLXCAT} text/text.cd app/localize/text.h=text/text.sd
  266. catalogsu:
  267. iconv -f ISO-8859-15 -t UTF-8 catalog/dansk/amath-help.ct >utext/dk-help.dict
  268. iconv -f ISO-8859-15 -t UTF-8 catalog/dansk/amath-ident.ct >utext/dk-ident.dict
  269. iconv -f ISO-8859-15 -t UTF-8 catalog/dansk/amath-text.ct >utext/dk-text.dict
  270. iconv -f ISO-8859-15 -t UTF-8 catalog/dansk/amath-keyword.ct >utext/dk-keyword.dict
  271. catalogsw:
  272. iconv -f ISO-8859-15 -t CP850 catalog/dansk/amath-help.ct >utext/dk-help.dict
  273. iconv -f ISO-8859-15 -t CP850 catalog/dansk/amath-ident.ct >utext/dk-ident.dict
  274. iconv -f ISO-8859-15 -t CP850 catalog/dansk/amath-text.ct >utext/dk-text.dict
  275. iconv -f ISO-8859-15 -t CP850 catalog/dansk/amath-keyword.ct >utext/dk-keyword.dict
  276. libamathapp: aengine.o charbuf.o cplex.o fgrid.o ntext.o real.o
  277. ${AR} rcs libamathapp.a aengine.o charbuf.o cplex.o fgrid.o ntext.o real.o
  278. ${RANLIB} libamathapp.a
  279. libamath: acos.o acosh.o asin.o asinh.o atan.o atan2.o atanh.o cbrt.o ceil.o copysign.o cos.o cosh.o exp.o expm1.o fabs.o finite.o floor.o fmod.o hypot.o isnan.o kcos.o kremp2.o ksin.o ktan.o log.o log10.o log1p.o pow.o remp2.o round.o scalbn.o sin.o sinh.o sqrt.o tan.o tanh.o trunc.o
  280. ${AR} rcs libamath.a acos.o acosh.o asin.o asinh.o atan.o atan2.o atanh.o cbrt.o ceil.o copysign.o cos.o cosh.o exp.o expm1.o fabs.o finite.o floor.o fmod.o hypot.o isnan.o kcos.o kremp2.o ksin.o ktan.o log.o log10.o log1p.o pow.o remp2.o round.o scalbn.o sin.o sinh.o sqrt.o tan.o tanh.o trunc.o
  281. ${RANLIB} libamath.a
  282. libcomplex: cacos.o cacosh.o cacot.o cacoth.o cacsc.o cacsch.o casec.o casech.o casin.o casinh.o catan.o catanh.o ccbrt.o ccos.o ccosh.o ccot.o ccoth.o ccsc.o ccsch.o cexp.o clog.o clog10.o clogb.o cpow.o csec.o csech.o csgn.o csin.o csinh.o csqrt.o ctan.o ctanh.o prim.o
  283. ${AR} rcs libcomplex.a cacos.o cacosh.o cacot.o cacoth.o cacsc.o cacsch.o casec.o casech.o casin.o casinh.o catan.o catanh.o ccbrt.o ccos.o ccosh.o ccot.o ccoth.o ccsc.o ccsch.o cexp.o clog.o clog10.o clogb.o cpow.o csec.o csech.o csgn.o csin.o csinh.o csqrt.o ctan.o ctanh.o prim.o
  284. ${RANLIB} libcomplex.a
  285. libcamath: alloccpy.o mem.o memcpy.o memset.o strcmp.o strlen.o untag.o dragon4.o dmath.o dprint.o
  286. ${AR} rcs libcamath.a alloccpy.o mem.o memcpy.o memset.o strcmp.o strlen.o untag.o dragon4.o dmath.o dprint.o
  287. ${RANLIB} libcamath.a
  288. app: libs evaluator.o functions.o graphlist.o lexer.o nodes.o operators.o optimizer.o parser.o statements.o token.o values.o viewer.o console.o console_amiga.o console_stdc.o filesystem_amiga.o filesystem_stdc.o graph.o graph_amiga.o graph_gtk.o language.o language_amiga.o language_posix.o language_stdc.o preferences.o preferences_amiga.o preferences_stdc.o proc_amiga.o program.o program_amiga.o program_stdc.o program_test.o task_amiga.o task_stdc.o window_amiga.o io.o main.o
  289. ${CC} ${CFLAGS} -m68020 -noixemul -s -L. -o amath evaluator.o functions.o graphlist.o lexer.o nodes.o operators.o optimizer.o parser.o statements.o token.o values.o viewer.o console.o console_amiga.o console_stdc.o filesystem_amiga.o filesystem_stdc.o graph.o graph_amiga.o graph_gtk.o language.o language_amiga.o language_posix.o language_stdc.o preferences.o preferences_amiga.o preferences_stdc.o proc_amiga.o program.o program_amiga.o program_stdc.o program_test.o task_amiga.o task_stdc.o window_amiga.o io.o main.o ${LFLAGS}
  290. dist: app catalogs
  291. ${COPY} amath dist/
  292. ${COPY} LICENSE dist/
  293. ${COPY} COPYRIGHT dist/
  294. amigacatalogs:
  295. ${MKDIR} dist/catalog
  296. ${MKDIR} dist/catalog/english
  297. ${FLXCAT} text/help.cd catalog/english/amath-help.ct CATALOG dist/catalog/english/amath-help.catalog
  298. ${FLXCAT} text/ident.cd catalog/english/amath-ident.ct CATALOG dist/catalog/english/amath-ident.catalog
  299. ${FLXCAT} text/text.cd catalog/english/amath-text.ct CATALOG dist/catalog/english/amath-text.catalog
  300. ${MKDIR} dist/catalog/dansk
  301. ${FLXCAT} text/help.cd catalog/dansk/amath-help.ct CATALOG dist/catalog/dansk/amath-help.catalog
  302. ${FLXCAT} text/ident.cd catalog/dansk/amath-ident.ct CATALOG dist/catalog/dansk/amath-ident.catalog
  303. ${FLXCAT} text/text.cd catalog/dansk/amath-text.ct CATALOG dist/catalog/dansk/amath-text.catalog
  304. ${FLXCAT} text/keyword.cd catalog/dansk/amath-keyword.ct CATALOG dist/catalog/dansk/amath-keyword.catalog
  305. clean:
  306. ${DEL} aengine.o charbuf.o cplex.o fgrid.o ntext.o real.o acos.o acosh.o asin.o asinh.o atan.o atan2.o atanh.o cbrt.o ceil.o copysign.o cos.o cosh.o exp.o expm1.o fabs.o finite.o floor.o fmod.o hypot.o isnan.o kcos.o kremp2.o ksin.o ktan.o log.o log10.o log1p.o pow.o remp2.o round.o scalbn.o sin.o sinh.o sqrt.o tan.o tanh.o trunc.o cacos.o cacosh.o cacot.o cacoth.o cacsc.o cacsch.o casec.o casech.o casin.o casinh.o catan.o catanh.o ccbrt.o ccos.o ccosh.o ccot.o ccoth.o ccsc.o ccsch.o cexp.o clog.o clog10.o clogb.o cpow.o csec.o csech.o csgn.o csin.o csinh.o csqrt.o ctan.o ctanh.o prim.o alloccpy.o mem.o memcpy.o memset.o strcmp.o strlen.o untag.o dragon4.o dmath.o dprint.o evaluator.o functions.o graphlist.o lexer.o nodes.o operators.o optimizer.o parser.o statements.o token.o values.o viewer.o console.o console_amiga.o console_stdc.o filesystem_amiga.o filesystem_stdc.o graph.o graph_amiga.o graph_gtk.o language.o language_amiga.o language_posix.o language_stdc.o preferences.o preferences_amiga.o preferences_stdc.o proc_amiga.o program.o program_amiga.o program_stdc.o program_test.o task_amiga.o task_stdc.o window_amiga.o io.o main.o libamath.a libcamath.a libcomplex.a libamathapp.a amath
  307. distclean:
  308. ${DEL} aengine.o charbuf.o cplex.o fgrid.o ntext.o real.o acos.o acosh.o asin.o asinh.o atan.o atan2.o atanh.o cbrt.o ceil.o copysign.o cos.o cosh.o exp.o expm1.o fabs.o finite.o floor.o fmod.o hypot.o isnan.o kcos.o kremp2.o ksin.o ktan.o log.o log10.o log1p.o pow.o remp2.o round.o scalbn.o sin.o sinh.o sqrt.o tan.o tanh.o trunc.o cacos.o cacosh.o cacot.o cacoth.o cacsc.o cacsch.o casec.o casech.o casin.o casinh.o catan.o catanh.o ccbrt.o ccos.o ccosh.o ccot.o ccoth.o ccsc.o ccsch.o cexp.o clog.o clog10.o clogb.o cpow.o csec.o csech.o csgn.o csin.o csinh.o csqrt.o ctan.o ctanh.o prim.o alloccpy.o mem.o memcpy.o memset.o strcmp.o strlen.o untag.o dragon4.o dmath.o dprint.o evaluator.o functions.o graphlist.o lexer.o nodes.o operators.o optimizer.o parser.o statements.o token.o values.o viewer.o console.o console_amiga.o console_stdc.o filesystem_amiga.o filesystem_stdc.o graph.o graph_amiga.o graph_gtk.o language.o language_amiga.o language_posix.o language_stdc.o preferences.o preferences_amiga.o preferences_stdc.o proc_amiga.o program.o program_amiga.o program_stdc.o program_test.o task_amiga.o task_stdc.o window_amiga.o io.o main.o libamath.a libcamath.a libcomplex.a libamathapp.a amath
  309. ${DELREC} dist
  310. depend:
  311. @echo Dependencies already done