Commit 0d8bc3d5 authored by tilman.metz's avatar tilman.metz

added superordinate Makefile

Makefile to install ifos3d with the included library
parent 9a469bc5
# This is par/Makefile
#--------------------------------------------------
# the command "make" or "make install" installs the
# cseife library and the main code of ifos3d
#--------------------------------------------------
default: ../ ifos3d
.PHONY: libcseife
libcseife:
$(MAKE) -C ../libcseife install
.PHONY: ifos3d
ifos3d: libcseife
ifdef MODEL
$(MAKE) -C ../src/ ifos3d MODELi_SCR=$(MODEL)
else
$(MAKE) -C ../src/ ifos3d
endif
.PHONY: install
install: clean-bin ifos3d
.PHONY: clean
clean:
rm -rf ../bin/*
$(MAKE) -C ../libcseife clean
$(MAKE) -C ../src/ clean
.PHONY: clean-bin
clean-bin:
rm -rf ../bin/*
.PHONY: reinstall
reinstall: clean ifos3d
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment