(file) Return to Rules.mk CVS log (file) (dir) Up to [Development] / JSOC / proj / libs / interpolate

File: [Development] / JSOC / proj / libs / interpolate / Rules.mk (download)
Revision: 1.2, Wed Sep 26 03:52:39 2012 UTC (10 years, 4 months ago) by kehcheng
Branch: MAIN
CVS Tags: Ver_LATEST, Ver_9-5, Ver_9-41, Ver_9-4, Ver_9-3, Ver_9-2, Ver_9-1, Ver_9-0, Ver_8-8, Ver_8-7, Ver_8-6, Ver_8-5, Ver_8-4, Ver_8-3, Ver_8-2, Ver_8-12, Ver_8-11, Ver_8-10, Ver_8-1, Ver_8-0, HEAD
Changes since 1.1: +3 -11 lines
add linux_avx

# For the interpolate library, the make system will generate 64-bit binaries only.

# Standard things
sp 		:= $(sp).x
dirstack_$(sp)	:= $(d)
d		:= $(dir)

LIBINTERP	:= $(d)/libinterp.a

OBJ_$(d)	:= $(addprefix $(d)/, cholesky_down.o finterpolate.o gapfill.o tinterpolate.o fresize.o)

DEP_$(d)	:= $(OBJ_$(d):%=%.d)

CLEAN		:= $(CLEAN) $(OBJ_$(d)) $(LIBINTERP) $(DEP_$(d))

TGT_LIB		:= $(TGT_LIB) $(LIBINTERP)

S_$(d)		:= $(notdir $(LIBINTERP))

# Local rules
$(OBJ_$(d)):	$(SRCDIR)/$(d)/Rules.mk
$(OBJ_$(d)):	CF_TGT := $(CF_TGT) -I$(FFTW_INCS) -DCDIR="\"$(SRCDIR)/$(d)\""


# For modules linking against this library, please 
# consult proj/lev1.5_hmi/apps/Rules.mk


$(LIBINTERP):	$(OBJ_$(d))
		$(ARCHIVE)
		$(SLLIB)

# Shortcuts
.PHONY:	$(S_$(d))
$(S_$(d)):	%:	$(d)/%

# Standard things
-include	$(DEP_$(d))

d		:= $(dirstack_$(sp))
sp		:= $(basename $(sp))

Karen Tian
Powered by
ViewCVS 0.9.4