summaryrefslogtreecommitdiff
path: root/lib/make/make.thornlib
diff options
context:
space:
mode:
authorgoodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac>2001-05-20 16:35:01 +0000
committergoodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac>2001-05-20 16:35:01 +0000
commitfcd0d2c5d1af88ae14a4d3ea23921789b8fdd35a (patch)
treef9f5b25e749b3a2189dcdb22fe7df0d641fb3c5c /lib/make/make.thornlib
parent6b38e450edc34db0c358aef6e64a3521e8233e29 (diff)
Tidying up some cruft.
Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2197 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/make/make.thornlib')
-rw-r--r--lib/make/make.thornlib10
1 files changed, 3 insertions, 7 deletions
diff --git a/lib/make/make.thornlib b/lib/make/make.thornlib
index f39b730c..87195beb 100644
--- a/lib/make/make.thornlib
+++ b/lib/make/make.thornlib
@@ -36,10 +36,8 @@ CCTK_SRCS :=
include $(SRCDIR)/make.code.defn
# Some extra stuff to allow make to recurse into subdirectories
-#CCTK_SRCS += $(SRCS)
-
# Protect the value of SRCS and SUBDIRS of this directory
-#LOCAL_SRCS := $(SRCS)
+
LOCAL_SUBDIRS := . $(SUBDIRS)
SRCS =
@@ -55,15 +53,13 @@ endif
# Restore the value of SRCS and SUBDIRS of this directory
SRCS = $(CCTK_SRCS)
+
SUBDIRS = $(LOCAL_SUBDIRS)
# Turn source file names into object file names
OBJS = $(SRCS:%=%.o)
-# Turn local source file names into object file names
-#LOCAL_OBJS = $(LOCAL_SRCS:%=%.o)
-
-$(NAME): $(addsuffix /make.checked, $(SUBDIRS)) $(LOCAL_OBJS) $(foreach DIR,. $(SUBDIRS), $(SRCDIR)/$(DIR)/make.code.defn)
+$(NAME): $(addsuffix /make.checked, $(SUBDIRS))
@echo $(DIVIDER)
if [ -r $(NAME) ] ; then echo Updating $(NAME) ; else echo Creating $(NAME) ; fi
if [ -r $@ ] ; then rm $@ ; fi