Hi -
I'd like to use a looping construct in my Android.mk. For a list of
targets...
simpleplugins := IOUGens NoiseUGens LFUGens OscUGens BinaryOpUGens
FilterUGens PanUGens MulAddUGens UnaryOpUGens TriggerUGens
...I'd like to substitute them in place of $(1) in the following:
include $(CLEAR_VARS)
LOCAL_MODULE := $(1)
LOCAL_SRC_FILES := Source/plugins/$(1).cpp
LOCAL_C_INCLUDES+= $(LOCAL_PATH)/Headers/plugin_interface
LOCAL_C_INCLUDES+= $(LOCAL_PATH)/Headers/common
LOCAL_C_INCLUDES+= $(LOCAL_PATH)/Headers/server
LOCAL_CFLAGS += -DSC_ANDROID
include $(BUILD_SHARED_LIBRARY)
I've tried using foreach() and call() and it's not working, I get
errors like:
make: *** No rule to make target `IOUGens', needed by `ndk-app-
TestApp'. Stop.
Anyone know a way that might work?
Thanks
Dan
--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To post to this group, send email to
andro...@googlegroups.com.
To unsubscribe from this group, send email to
android-ndk...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/android-ndk?hl=en.