Skip to content

Commit

Permalink
Finally managed to build the subdir properly.
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@70 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
x97davka committed Jan 8, 1998
1 parent 99ceb6f commit f991f8f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions modeq/Makefile
Expand Up @@ -32,7 +32,9 @@ SUBDIRS = ast
.c.o:
$(CC) -c $(CFLAGS) -o $@ $<

$(PROG): $(SRCO) libast
all : subdirs $(PROG)

$(PROG): $(SRCO) ast/libast.a
$(CC) -o $(PROG) $(SRCO) $(LDFLAGS) $(AST)

$(SRCO): rml.h
Expand All @@ -44,7 +46,7 @@ main.o: main.rml
absyn.o: absyn.rml
parse.o: parse.rml

libast:
ast/libast.a:
@(cd ast ; $(MAKE) libast.a)

subdirs:
Expand Down

0 comments on commit f991f8f

Please sign in to comment.