You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
762 B
Makefile
35 lines
762 B
Makefile
|
|
########################################################################
|
|
#
|
|
# Makefile for library
|
|
#
|
|
########################################################################
|
|
|
|
|
|
#INTERFACE = ${BOSSE}/CODES/LIBS_C/Interface
|
|
#INTERFACE2= ${BOSSE}/CODES/Geostat/FFTPSim/Version_binaire2/src/Interface
|
|
|
|
INTERFACE = ../include
|
|
#INTERFACE2= ../Interface
|
|
|
|
INCLUDE = -I${INTERFACE}
|
|
LIBS = -lm -L../lib
|
|
CCFLAGS =
|
|
CC = cc
|
|
|
|
LIB = libFFTPSIM_${ARCH}.a
|
|
|
|
NOBJS= pgeneration.o pgeneration2.o FFTPressure.o FFTtest.o build_pressure.o build_velocity.o total_pressure.o total_velocity.o clean_real2.o waveVectorCompute3D.o mat_vec.o derivReal.o
|
|
|
|
.c.o:
|
|
${CC} $(INCLUDE) $(CCFLAGS) -c $<
|
|
|
|
# LIBRARY
|
|
$(LIB) : $(NOBJS)
|
|
ar cr $(LIB) $(NOBJS)
|
|
ranlib $(LIB)
|
|
|
|
clean :
|
|
rm *.o
|
|
|