1 |
include ../Makefile.inc |
2 |
|
3 |
INCLUDE = ../headers |
4 |
CP_OBJ = mpiBASS.o mpiSimulation.o mpiForceField.o |
5 |
|
6 |
all: $(LIBDIR)/$(LIBNAME) |
7 |
|
8 |
$(LIBDIR)/$(LIBNAME): $(CP_OBJ) |
9 |
ar -crsv $@ $? |
10 |
|
11 |
mpiBASS.o: $(INCLUDE)/mpiBASS.h mpiBASS.c |
12 |
$(CC) $(CFLAGS) -I$(INCLUDE) -c mpiBASS.c |
13 |
|
14 |
mpiForceField.o: $(INCLUDE)/mpiForceField.h mpiForceField.c |
15 |
$(CC) $(CFLAGS) -I$(INCLUDE) -c mpiForceField.c |
16 |
|
17 |
mpiSimulation.o: $(INCLUDE)/mpiSimulation.hpp mpiSimulation.cpp |
18 |
$(CC_PLUS) $(CFLAGS) -I$(INCLUDE) -c mpiSimulation.cpp |
19 |
|
20 |
clean: |
21 |
rm *.o *~ |