Skip to content

Commit

Permalink
Some improvements to Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
msanchezc committed Nov 15, 2016
1 parent d6e0e04 commit 0e6a2c4
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,25 @@ export F77 := gfortran

all: buildcupid

.PHONY: buildcupid
buildcupid: $(starlink_dir)/bin/cupid

.PHONY: buildsupport
buildsupport: updatestarlink
buildsupport: $(starlink_dir)/buildsupport

.PHONY: updatestarlink
updatestarlink:
git submodule update --init

$(starlink_dir)/buildsupport: updatestarlink
cd ./starlink && ./bootstrap --buildsupport

.PHONY: buildcupid
buildcupid: buildsupport
$(starlink_dir)/bin/cupid: buildsupport
cd ./starlink && ./bootstrap
$(MAKE) -C ./starlink configure-deps
cd ./starlink && ./configure -C --without-stardocs
$(MAKE) -C ./starlink $(starlink_dir)/manifests/cupid

.PHONY: updatestarlink
updatestarlink:
git submodule update --init

.PHONY: clean
clean:
-rm -rf build/
Expand Down

0 comments on commit 0e6a2c4

Please sign in to comment.