comparison 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
comparison
equal deleted inserted replaced
11:6616075ec7b6 12:a3d35e11c3fe
65 all: $(SDK_TARGET) $(PLUGIN_TARGET) $(HOST_TARGET) test 65 all: $(SDK_TARGET) $(PLUGIN_TARGET) $(HOST_TARGET) test
66 66
67 $(SDK_TARGET): $(SDK_OBJECTS) 67 $(SDK_TARGET): $(SDK_OBJECTS)
68 $(AR) r $@ $^ 68 $(AR) r $@ $^
69 69
70 $(PLUGIN_TARGET): $(PLUGIN_OBJECTS) 70 $(PLUGIN_TARGET): $(PLUGIN_OBJECTS) $(SDK_TARGET)
71 $(CXX) $(LDFLAGS) $(PLUGIN_LDFLAGS) -o $@ $^ $(PLUGIN_LIBS) 71 $(CXX) $(LDFLAGS) $(PLUGIN_LDFLAGS) -o $@ $^ $(PLUGIN_LIBS)
72 72
73 $(HOST_TARGET): $(HOST_OBJECTS) 73 $(HOST_TARGET): $(HOST_OBJECTS) $(SDK_TARGET)
74 $(CXX) $(LDFLAGS) $(HOST_LDFLAGS) -o $@ $^ $(HOST_LIBS) 74 $(CXX) $(LDFLAGS) $(HOST_LDFLAGS) -o $@ $^ $(HOST_LIBS)
75 75
76 test: $(HOST_TARGET) $(PLUGIN_TARGET) 76 test: $(HOST_TARGET) $(PLUGIN_TARGET)
77 $(HOST_TARGET) $(PLUGIN_TARGET) 77 $(HOST_TARGET) $(PLUGIN_TARGET)
78 78