Makefile 387 Bytes
Newer Older
1 2
MPICXX = mpicxx

3
MPI_CFLAGS   = -g -O3 -I$(HOME)/install/$(ARCHI)/include/ -DBGQ -DDBG -DCOLOR
4 5 6 7 8
MPI_LDFLAGS  = -L$(HOME)/install/$(ARCHI)/lib/ -ltapioca
INSTALL_PATH = $(HOME)/install/$(ARCHI)

all: 1d_array

9
1d_array:1d_array.c ../../bindings/C/tapioca_capi.o
10 11 12 13 14 15 16
	$(MPICXX) $(MPI_CFLAGS) $? -o $@ $(MPI_LDFLAGS)

install:
	mv 1d_array $(HOME)/install/$(ARCHI)/bin/

clean:
	rm 1d_array *.o