Makefile 308 Bytes
Newer Older
1
include make.inc/Makefile.bgq
2 3 4 5 6 7 8

all:libtapioca.a

libtapioca.a:tapioca.o
	ar rcs $@ $?

tapioca.o:tapioca.cpp
9
	$(MPICXX) $(MPI_CFLAGS) -c $? -o $@ $(MPI_LDFLAGS)
10 11

install:
12
	cp -r tapioca.hpp topology/*.hpp topology/include/* $(INSTALL_PATH)/include
13 14 15
	cp libtapioca.a $(INSTALL_PATH)/lib

clean:
16
	rm -f *.a *.o