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

File: [Development] / JSOC / proj / dsdsmigr / libs / Rules.mk (download)
Revision: 1.1, Wed Jan 12 01:26:36 2011 UTC (12 years, 4 months ago) by arta
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, Ver_7-1, Ver_7-0, Ver_6-4, Ver_6-3, Ver_6-2, Ver_6-1, Ver_6-0, Ver_5-14, Ver_5-13, HEAD
Add ephemeris functions to a library, dsdsmigr.a, and in set_gaps_missing_test, add the setting of ephemeris keywords by linking to libdsdsmigr.a

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

# Local variables                                                                                                              
LIBDSDSMIGR     := $(d)/libdsdsmigr.a

OBJ_$(d)        := $(addprefix $(d)/, dsdsmigr.o)

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

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


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

# Local rules                                                                                                                  
$(OBJ_$(d)):    $(SRCDIR)/$(d)/Rules.mk


# 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