Skip to content

Commit

Permalink
- added ${MODELICAUSERLFLAGS} to the end of the g++ command in the
Browse files Browse the repository at this point in the history
  generated Model.makefile as Hong Duan (hduan [at] ucdavis [dot] edu) suggested

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@2863 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adrpo committed Jul 18, 2007
1 parent 26594b7 commit 540d466
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/SimCodegen.mo
Expand Up @@ -151,7 +151,7 @@ public function generateMakefile "function: generateMakefile
{"#Makefile generated by OpenModelica\n\n","CXX=g++\n",
cname,": ",cpp_file,"\n","\t $(CXX) -o ",cname,".exe ",cpp_file," -L\"",
omhome,"/lib/\""," -I. -I\"",omhome,"/include/\" "," -lsim -lc_runtime -lf2c ",
libs_1,"\n"}) "\".exe\" is needed for a class that is in a package." ;
libs_1," ${MODELICAUSERLFLAGS}\n"}) "\".exe\" is needed for a class that is in a package." ;
System.writeFile(filename, str);
then
();
Expand Down

0 comments on commit 540d466

Please sign in to comment.