[decnum-dynpmcs] r184 committed - Actually use the STAGING_DIR variable in the makefiles.

2 views
Skip to first unread message

codesite...@google.com

unread,
Sep 24, 2009, 1:15:52 PM9/24/09
to decnum-...@googlegroups.com
Revision: 184
Author: arbelo
Date: Thu Sep 24 10:15:22 2009
Log: Actually use the STAGING_DIR variable in the makefiles.


http://code.google.com/p/decnum-dynpmcs/source/detail?r=184

Modified:
/trunk/cfg/Makefile.in

=======================================
--- /trunk/cfg/Makefile.in Thu Aug 27 16:02:22 2009
+++ /trunk/cfg/Makefile.in Thu Sep 24 10:15:22 2009
@@ -45,22 +45,23 @@
$(PMC_DIR)/decnumcontext.pmc \
$(PMC_DIR)/decnum.pmc

-BUILD_CLEANUPS := build/*
+BUILD_CLEANUPS := $(STAGING_DIR)/*

# the default target
all: pmc

-pmc: $(PMC_DEPS) build/decContext$(O) build/decNumber$(O)
+pmc: $(PMC_DEPS) $(STAGING_DIR)/decContext$(O) \
+ $(STAGING_DIR)/decNumber$(O)
$(MAKE) $(PMC_DIR)

-build/decContext$(O): $(DECNUMBER_DIR)/decContext.c \
+$(STAGING_DIR)/decContext$(O): $(DECNUMBER_DIR)/decContext.c \
$(DECNUMBER_DIR)/decContext.h
- $(CC) $(CFLAGS) $(CC_OUT)build/decContext$(O)
$(DECNUMBER_DIR)/decContext.c
-
-build/decNumber$(O): $(DECNUMBER_DIR)/decNumber.c \
+ $(CC) $(CFLAGS) $(CC_OUT)$(STAGING_DIR)/decContext$(O)
$(DECNUMBER_DIR)/decContext.c
+
+$(STAGING_DIR)/decNumber$(O): $(DECNUMBER_DIR)/decNumber.c \
$(DECNUMBER_DIR)/decNumber.h \
$(DECNUMBER_DIR)/decContext.h
- $(CC) $(CFLAGS) $(CC_OUT)build/decNumber$(O) $(DECNUMBER_DIR)/decNumber.c
+ $(CC) $(CFLAGS) $(CC_OUT)$(STAGING_DIR)/decNumber$(O)
$(DECNUMBER_DIR)/decNumber.c

# This is a listing of all targets, that are meant to be called by users
help:

Reply all
Reply to author
Forward
0 new messages