fix FEM build target

This commit is contained in:
zhangc43 2016-04-20 08:26:20 -04:00
parent b00b8e82f6
commit 13a9e49b39
1 changed files with 3 additions and 2 deletions

View File

@ -6,7 +6,7 @@ SHELL = /bin/sh
all: spectral FEM
spectral: build/spectral
@(cd build/spectral; make; make install;)
@(cd build/spectral; make -s all install;)
build/spectral: build
@mkdir build/spectral
@ -19,10 +19,11 @@ bin:
@mkdir bin
FEM: build/FEM
@(cd build/FEM; cmake -Wno-dev -DCMAKE_BUILD_TYPE=RELEASE -DDAMASK_DRIVER=FEM ../..;)
@(cd build/FEM; make -s all install;)
build/FEM: build
@mkdir build
@(cd build/FEM; cmake -Wno-dev -DCMAKE_BUILD_TYPE=RELEASE -DDAMASK_DRIVER=FEM ../..;)
.PHONY: clean
clean: