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.
68 lines
2.7 KiB
Makefile
68 lines
2.7 KiB
Makefile
TOP=../..
|
|
include $(TOP)/Make.inc
|
|
LIBDIR=$(TOP)lib
|
|
INCLUDEDIR=$(TOP)/include
|
|
MODDIR=$(TOP)/modules
|
|
HERE=..
|
|
|
|
FINCLUDES=$(FMFLAG). $(FMFLAG)$(HERE) $(FMFLAG)$(MODDIR)
|
|
CINCLUDES=-I. -I$(HERE) -I$(INCLUDEDIR)
|
|
|
|
FOBJS= psb_objhandle_mod.o psb_base_cbind_mod.o psb_cpenv_mod.o \
|
|
psb_base_tools_cbind_mod.o psb_base_string_cbind_mod.o \
|
|
psb_base_psblas_cbind_mod.o \
|
|
psb_s_tools_cbind_mod.o psb_s_serial_cbind_mod.o psb_s_psblas_cbind_mod.o \
|
|
psb_d_tools_cbind_mod.o psb_d_serial_cbind_mod.o psb_d_psblas_cbind_mod.o \
|
|
psb_c_tools_cbind_mod.o psb_c_serial_cbind_mod.o psb_c_psblas_cbind_mod.o \
|
|
psb_z_tools_cbind_mod.o psb_z_serial_cbind_mod.o psb_z_psblas_cbind_mod.o \
|
|
psb_s_comm_cbind_mod.o psb_d_comm_cbind_mod.o \
|
|
psb_c_comm_cbind_mod.o psb_z_comm_cbind_mod.o
|
|
|
|
COBJS= psb_c_base.o psb_c_sbase.o psb_c_dbase.o psb_c_cbase.o psb_c_zbase.o \
|
|
psb_c_scomm.o psb_c_dcomm.o psb_c_ccomm.o psb_c_zcomm.o
|
|
CMOD=psb_base_cbind.h psb_c_base.h psb_c_sbase.h psb_c_dbase.h psb_c_cbase.h psb_c_zbase.h \
|
|
psb_c_scomm.h psb_c_dcomm.h psb_c_ccomm.h psb_c_zcomm.h
|
|
OBJS=$(FOBJS) $(COBJS)
|
|
|
|
LIBNAME=$(CBINDLIBNAME)
|
|
|
|
|
|
lib: $(OBJS) $(CMOD)
|
|
$(AR) $(HERE)/$(LIBNAME) $(OBJS)
|
|
$(RANLIB) $(HERE)/$(LIBNAME)
|
|
/bin/cp -p *$(.mod) $(CMOD) $(HERE)
|
|
|
|
$(COBJS): $(CMOD)
|
|
|
|
psb_base_cbind_mod.o: psb_cpenv_mod.o psb_objhandle_mod.o psb_base_tools_cbind_mod.o \
|
|
psb_base_string_cbind_mod.o psb_base_psblas_cbind_mod.o \
|
|
psb_s_tools_cbind_mod.o psb_s_serial_cbind_mod.o psb_s_psblas_cbind_mod.o \
|
|
psb_d_tools_cbind_mod.o psb_d_serial_cbind_mod.o psb_d_psblas_cbind_mod.o \
|
|
psb_c_tools_cbind_mod.o psb_c_serial_cbind_mod.o psb_c_psblas_cbind_mod.o \
|
|
psb_z_tools_cbind_mod.o psb_z_serial_cbind_mod.o psb_z_psblas_cbind_mod.o \
|
|
psb_s_comm_cbind_mod.o psb_d_comm_cbind_mod.o \
|
|
psb_c_comm_cbind_mod.o psb_z_comm_cbind_mod.o
|
|
|
|
psb_base_tools_cbind_mod.o: psb_cpenv_mod.o psb_objhandle_mod.o psb_base_string_cbind_mod.o
|
|
|
|
psb_s_tools_cbind_mod.o psb_s_serial_cbind_mod.o \
|
|
psb_d_tools_cbind_mod.o psb_d_serial_cbind_mod.o \
|
|
psb_c_tools_cbind_mod.o psb_c_serial_cbind_mod.o \
|
|
psb_z_tools_cbind_mod.o psb_z_serial_cbind_mod.o \
|
|
psb_s_psblas_cbind_mod.o psb_d_psblas_cbind_mod.o \
|
|
psb_c_psblas_cbind_mod.o psb_z_psblas_cbind_mod.o \
|
|
psb_s_comm_cbind_mod.o psb_d_comm_cbind_mod.o \
|
|
psb_c_comm_cbind_mod.o psb_z_comm_cbind_mod.o: psb_base_tools_cbind_mod.o psb_objhandle_mod.o psb_base_string_cbind_mod.o
|
|
|
|
psb_base_psblas_cbind_mod.o: psb_s_psblas_cbind_mod.o psb_d_psblas_cbind_mod.o psb_c_psblas_cbind_mod.o psb_z_psblas_cbind_mod.o
|
|
|
|
psb_cpenv_mod.o: psb_base_string_cbind_mod.o psb_objhandle_mod.o
|
|
|
|
veryclean: clean
|
|
/bin/rm -f $(HERE)/$(LIBNAME)
|
|
|
|
clean:
|
|
/bin/rm -f $(OBJS) *$(.mod)
|
|
|
|
veryclean: clean
|