ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/JSOC/proj/libs/interpolate/Rules.mk
Revision: 1.2
Committed: Wed Sep 26 04:52:39 2012 UTC (10 years, 11 months ago) by kehcheng
Branch: MAIN
CVS Tags: Ver_9-1, Ver_LATEST, Ver_9-3, Ver_9-41, Ver_9-2, Ver_8-8, Ver_8-2, Ver_8-3, Ver_8-0, Ver_8-1, Ver_8-6, Ver_8-7, Ver_8-4, Ver_8-5, Ver_9-5, Ver_9-4, Ver_8-10, Ver_8-11, Ver_8-12, Ver_9-0, HEAD
Changes since 1.1: +3 -11 lines
Log Message:
add linux_avx

File Contents

# Content
1 # For the interpolate library, the make system will generate 64-bit binaries only.
2
3 # Standard things
4 sp := $(sp).x
5 dirstack_$(sp) := $(d)
6 d := $(dir)
7
8 LIBINTERP := $(d)/libinterp.a
9
10 OBJ_$(d) := $(addprefix $(d)/, cholesky_down.o finterpolate.o gapfill.o tinterpolate.o fresize.o)
11
12 DEP_$(d) := $(OBJ_$(d):%=%.d)
13
14 CLEAN := $(CLEAN) $(OBJ_$(d)) $(LIBINTERP) $(DEP_$(d))
15
16 TGT_LIB := $(TGT_LIB) $(LIBINTERP)
17
18 S_$(d) := $(notdir $(LIBINTERP))
19
20 # Local rules
21 $(OBJ_$(d)): $(SRCDIR)/$(d)/Rules.mk
22 $(OBJ_$(d)): CF_TGT := $(CF_TGT) -I$(FFTW_INCS) -DCDIR="\"$(SRCDIR)/$(d)\""
23
24
25 # For modules linking against this library, please
26 # consult proj/lev1.5_hmi/apps/Rules.mk
27
28
29 $(LIBINTERP): $(OBJ_$(d))
30 $(ARCHIVE)
31 $(SLLIB)
32
33 # Shortcuts
34 .PHONY: $(S_$(d))
35 $(S_$(d)): %: $(d)/%
36
37 # Standard things
38 -include $(DEP_$(d))
39
40 d := $(dirstack_$(sp))
41 sp := $(basename $(sp))