Makefile 732 Bytes
Newer Older
1
include ../make.inc/Makefile.$(ARCHI)
Francois Tessier's avatar
Francois Tessier committed
2

3
all: miniHACC-AoS #miniHACC-SoA miniHACC-AoS-MPIIO miniHACC-SoA-MPIIO
Francois Tessier's avatar
Francois Tessier committed
4

5
miniHACC-AoS:miniHACC-AoS.cpp
6
	$(MPICXX) $(MPI_CFLAGS) $? -o $@ $(MPI_LDFLAGS)
Francois Tessier's avatar
Francois Tessier committed
7

8
miniHACC-SoA:miniHACC-SoA.cpp
9
	$(MPICXX) $(MPI_CFLAGS) $? -o $@ $(MPI_LDFLAGS)
Francois Tessier's avatar
Francois Tessier committed
10

11 12
### MPI I/O
miniHACC-AoS-MPIIO:miniHACC-AoS-MPIIO.cpp
13
	$(MPICXX) $(MPI_CFLAGS) $? -o $@ $(MPI_LDFLAGS)
Francois Tessier's avatar
Francois Tessier committed
14

15
miniHACC-SoA-MPIIO:miniHACC-SoA-MPIIO.cpp
16
	$(MPICXX) $(MPI_CFLAGS) $? -o $@ $(MPI_LDFLAGS)
Francois Tessier's avatar
Francois Tessier committed
17

18 19 20
install:
	mv miniHACC-AoS miniHACC-SoA miniHACC-AoS-MPIIO miniHACC-SoA-MPIIO $(INSTALL_PATH)/bin

Francois Tessier's avatar
Francois Tessier committed
21
clean:
22 23 24 25
	rm $(INSTALL_PATH)/bin/miniHACC-AoS
	rm $(INSTALL_PATH)/bin/miniHACC-SoA
	rm $(INSTALL_PATH)/bin/miniHACC-AoS-MPIIO
	rm $(INSTALL_PATH)/bin/miniHACC-SoA-MPIIO
Francois Tessier's avatar
Francois Tessier committed
26