Makefile 272 Bytes
Newer Older
Francois Tessier's avatar
Francois Tessier committed
1
include make.inc/Makefile.xc40
2 3 4 5 6 7 8 9 10 11 12 13 14 15

all:libtapioca.a

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

tapioca.o:tapioca.cpp
	$(MPICXX) $(MPI_CFLAGS) -c $? -o $@

install:
	cp tapioca.hpp topology/*.hpp $(INSTALL_PATH)/include
	cp libtapioca.a $(INSTALL_PATH)/lib

clean:
Francois Tessier's avatar
Francois Tessier committed
16
	rm -f *.a *.o