Skip to content

Commit

Permalink
Adrian Pop, 2006-02-26
Browse files Browse the repository at this point in the history
-added trunk/build with bin, include and lib directories.
-modified makefiles to use these directories

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@2168 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adrpo committed Feb 25, 2006
1 parent a0e2db1 commit e5d7609
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions mosh/src/Makefile.in
@@ -1,5 +1,6 @@

top_builddir=../..
builddir=$(top_builddir)/build/bin

CC=gcc
CXX=g++
Expand Down Expand Up @@ -44,7 +45,7 @@ LIBS = -lantlr -lmodelica_parser -lreadline -ltermcap $(CORBALIB) -lm -lpthread

OBJS += mosh.o options.o

PROG = mosh
PROG = OMShell

all: release

Expand All @@ -53,14 +54,14 @@ release: $(PROG)$(EXEEXT)

$(PROG)$(EXEEXT) : $(OBJS)
$(CXX) -o $(PROG)$(EXEEXT) $(OBJS) $(CORBAOBJS) $(LINKFLAGS) $(LIBS)
cp $(PROG)$(EXEEXT) $(top_builddir)/.
cp $(PROG)$(EXEEXT) $(builddir)/.

.cpp.o:
$(CXX) $(CXXFLAGS) -c $<


clean:
-rm -f *.o *~ core *.core $(PROG)$(EXEEXT) $(top_builddir)/$(PROG)$(EXEEXT)
-rm -f *.o *~ core *.core $(PROG)$(EXEEXT) $(builddir)/$(PROG)$(EXEEXT)


mosh.o : mosh.cpp
Expand Down

0 comments on commit e5d7609

Please sign in to comment.