Skip to content

Commit

Permalink
- Use $(MAKE) instead of make (enables parallel make)
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@8712 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Apr 20, 2011
1 parent 5510cc6 commit a8cdb53
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions OMPlot/OMPlotGUI/Makefile.unix.in
Expand Up @@ -21,19 +21,19 @@ Makefile.lib: Makefile OMPlotLib.pro OMPlotGUI.config
$(QMAKE) OMPlotLib.pro -o $@

clean:
test ! -f Makefile || make -f Makefile clean
test ! -f Makefile.lib || make -f Makefile.lib clean
test ! -f Makefile || $(MAKE) -f Makefile clean
test ! -f Makefile.lib || $(MAKE) -f Makefile.lib clean
rm -rf $(NAME) $(NAME)$(EXE) Makefile

$(NAME)$(EXE): Makefile
make -f Makefile
$(MAKE) -f Makefile
ifeq ($(EXE),.app)
$(NAME): $(NAME)$(EXE) always
cp -p ../bin/$</Contents/MacOS/$(NAME) ../bin/$@
endif

$(LIB): Makefile.lib
make -f $<
$(MAKE) -f $<

build: $(NAME) $(LIB)
cp -p ../bin/$(NAME) $(builddir_bin)
Expand Down

0 comments on commit a8cdb53

Please sign in to comment.