mirror of
https://github.com/ParticulateFlow/CFDEMcoupling-PFM.git
synced 2025-12-08 06:37:44 +00:00
update
This commit is contained in:
@ -1,43 +0,0 @@
|
|||||||
# Makefile for coupling library
|
|
||||||
|
|
||||||
SHELL = /bin/sh
|
|
||||||
|
|
||||||
# System-specific settings
|
|
||||||
|
|
||||||
CC = mpic++
|
|
||||||
CCFLAGS = -g -O2 -fPIC \
|
|
||||||
-funroll-loops -fstrict-aliasing -Wall -W -Wno-uninitialized
|
|
||||||
DEPFLAGS = -M
|
|
||||||
LINK = mpic++
|
|
||||||
LINKFLAGS = -O -fPIC
|
|
||||||
ARCHIVE = ar
|
|
||||||
ARFLAGS = -rcsv
|
|
||||||
SIZE = size
|
|
||||||
|
|
||||||
# Files
|
|
||||||
|
|
||||||
LIB = libcoupleMany2Many.a
|
|
||||||
SRC = $(wildcard *.cpp)
|
|
||||||
INC = $(wildcard *.h)
|
|
||||||
OBJ = $(SRC:.cpp=.o)
|
|
||||||
|
|
||||||
# Targets
|
|
||||||
|
|
||||||
lib: $(OBJ)
|
|
||||||
$(ARCHIVE) $(ARFLAGS) $(LIB) $(OBJ)
|
|
||||||
|
|
||||||
clean:
|
|
||||||
rm $(LIB) *.o *.d
|
|
||||||
|
|
||||||
# Compilation rules
|
|
||||||
|
|
||||||
%.o:%.cpp
|
|
||||||
$(CC) $(CCFLAGS) -c $<
|
|
||||||
|
|
||||||
%.d:%.cpp
|
|
||||||
$(CC) $(CCFLAGS) $(DEPFLAGS) $< > $@
|
|
||||||
|
|
||||||
# Individual dependencies
|
|
||||||
|
|
||||||
DEPENDS = $(OBJ:.o=.d)
|
|
||||||
include $(DEPENDS)
|
|
||||||
Binary file not shown.
Reference in New Issue
Block a user