summaryrefslogtreecommitdiff
path: root/lib/make/make.subdir
diff options
context:
space:
mode:
authorgoodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac>2001-05-21 10:38:44 +0000
committergoodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac>2001-05-21 10:38:44 +0000
commit9e9ae09fdf13b595c4053e803e6a396d7f843c95 (patch)
tree1d9bf55cd6d4f4045aecb5087c3ebd7ac96eeb9f /lib/make/make.subdir
parent9291fe92c464ba411050fa1758937af49906d805 (diff)
Several inter-twined changes: -
Make system now looks in bindings/build/$(THORN)/make.code.defn for additional objects to be built and linked into a library. The CST puts a file cctk_ThornBindings.c into this directory. This should solve the empty library problem - PR 638. The interface to the internal routine CCTKi_RegisterThorn has changed. The new file created by the CST uses the correct new syntax, ands passes information about ancestors and friends into the flesh. Hence the commit of two separate things in one commit, as the both changes require a -rebuild. Please do a make <config>-rebuild or your code will not compile. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2199 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/make/make.subdir')
-rw-r--r--lib/make/make.subdir4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/make/make.subdir b/lib/make/make.subdir
index c70ea2df..2003ac16 100644
--- a/lib/make/make.subdir
+++ b/lib/make/make.subdir
@@ -20,14 +20,14 @@ INC_DIRS += $(SRCDIR) $(SRCDIR)/include
EXTRA_DEFINES += THORN_IS_$(THORN)
# Include the subdirectory's local include data
-include $(SRCDIR)/make.code.defn
+-include $(SRCDIR)/make.code.defn
# Turn source file names into object file names
OBJS = $(SRCS:%=%.o)
# Build all the object files
-make.checked: $(OBJS)
+$(TARGET): $(OBJS)
touch make.checked
# Rules to make the object files