Makefile 637 Bytes
Newer Older
Florian Wittkamp's avatar
Florian Wittkamp committed
1
default: ../ IFOS2D
Tilman Steinweg's avatar
Tilman Steinweg committed
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19

.PHONY: aff
aff: 
	$(MAKE) -C ../contrib/aff install

.PHONY: fourier
fourier:
	$(MAKE) -C ../contrib/fourier install

.PHONY: stfinv
stfinv:
	$(MAKE) -C ../contrib/stfinv install

.PHONY: libcseife
libcseife:
	$(MAKE) -C ../contrib/libcseife install


Florian Wittkamp's avatar
Florian Wittkamp committed
20 21
.PHONY: IFOS2D 
IFOS2D: aff fourier stfinv libcseife
Tilman Steinweg's avatar
Tilman Steinweg committed
22
ifdef MODEL
Florian Wittkamp's avatar
Florian Wittkamp committed
23
	$(MAKE) -C ../src/ IFOS2D MODEL=$(MODEL)
Tilman Steinweg's avatar
Tilman Steinweg committed
24
else
Florian Wittkamp's avatar
Florian Wittkamp committed
25
	$(MAKE) -C ../src/ IFOS2D 
Tilman Steinweg's avatar
Tilman Steinweg committed
26 27 28 29 30
endif


.PHONY: clean
clean: 
Florian Wittkamp's avatar
Florian Wittkamp committed
31
	rm -rf ../bin/IFOS2D
Tilman Steinweg's avatar
Tilman Steinweg committed
32 33 34 35 36
	$(MAKE) -C ../contrib/aff clean
	$(MAKE) -C ../contrib/fourier clean
	$(MAKE) -C ../contrib/stfinv clean
	$(MAKE) -C ../contrib/libcseife clean
	$(MAKE) -C ../src/ clean