Commit 79e11cf2 authored by Francois Tessier's avatar Francois Tessier

Rename binding files. One file for each programming language.

parent e77366ff
#include "tapioca.h"
#include "tapioca_capi.h"
#include "tapioca_singleton.hpp"
void tapioca_init_ ( int64_t *chunkCount, int *chunkSize,
......
#include "tapioca.h"
#include "tapioca_f90api.h"
#include "tapioca_singleton.hpp"
void tapioca_init_ ( int64_t *chunkCount, int *chunkSize,
......
......@@ -8,9 +8,11 @@ TP_INCLUDE = ../architectures/tp_network_interface.hpp \
../architectures/$(ARCHI)/*
C_CPP_FILES := $(wildcard C/*.cpp)
C_HDR_FILES := $(wildcard C/*.h )
C_OBJ_FILES := $(C_CPP_FILES:.cpp=.o)
F90_CPP_FILES := $(wildcard F90/*.cpp)
F90_HDR_FILES := $(wildcard F90/*.h)
F90_OBJ_FILES := $(F90_CPP_FILES:.cpp=.o)
all:c_bindings f90_bindings
......@@ -21,5 +23,8 @@ c_bindings:$(C_CPP_FILES)
f90_bindings:$(F90_CPP_FILES)
$(MPICXX) $(MPI_CFLAGS) -c $? -o $(F90_OBJ_FILES) $(MPI_LDFLAGS)
install:
cp tapioca_singleton.hpp $(C_HDR_FILES) $(F90_HDR_FILES) $(INSTALL_PATH)/include
clean:
rm -f $(F90_OBJ_FILES) $(C_OBJ_FILES)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment