diff Makefile @ 12:a3d35e11c3fe

* Avoid repeated malloc/free for returned feature lists -- reuse static feature lists where possible. Need to document the host behaviour that permits this (i.e. a returned feature list is only valid until the next call to process, getRemainingFeatures or releaseFeatureSet)
author cannam
date Thu, 06 Apr 2006 15:12:25 +0000
parents 6616075ec7b6
children 61887dda7fe0
line wrap: on
line diff
--- a/Makefile	Thu Apr 06 12:26:44 2006 +0000
+++ b/Makefile	Thu Apr 06 15:12:25 2006 +0000
@@ -67,10 +67,10 @@
 $(SDK_TARGET):	$(SDK_OBJECTS)
 		$(AR) r $@ $^
 
-$(PLUGIN_TARGET):	$(PLUGIN_OBJECTS)
+$(PLUGIN_TARGET):	$(PLUGIN_OBJECTS) $(SDK_TARGET)
 		$(CXX) $(LDFLAGS) $(PLUGIN_LDFLAGS) -o $@ $^ $(PLUGIN_LIBS)
 
-$(HOST_TARGET):	$(HOST_OBJECTS)
+$(HOST_TARGET):	$(HOST_OBJECTS) $(SDK_TARGET)
 		$(CXX) $(LDFLAGS) $(HOST_LDFLAGS) -o $@ $^ $(HOST_LIBS)
 
 test:		$(HOST_TARGET) $(PLUGIN_TARGET)