score:1
according http://www.gnu.org/software/make/manual/make.html you can use old-fashioned suffix rules:
source_xyz_files = a.xyz b.xyz
.xyz.cpp: $(source_xyz_files)
if test "`dirname $@`" != "."; then mkdir -p "`dirname $@`"; fi
tool_to_create_cpp_and_h_from_xyz $< $@ $(patsubst %.cpp,%.h,$@)
local_src_files += $(patsubst %.xyz,%.cpp,$(source_xyz_files))
or patter rules:
generated_cpp_files = a.cpp b.cpp
$(generated_cpp_files) : %.cpp : %.xyz
if test "`dirname $@`" != "."; then mkdir -p "`dirname $@`"; fi
tool_to_create_cpp_and_h_from_xyz $< $@ $(patsubst %.cpp,%.h,$@)
local_src_files += $(generated_cpp_files)
Source: stackoverflow.com
Related Query
- Issue with build Android NDK project
- OpenCV Android NDK Project will not build
- Build Configurations and the Android NDK
- eclipse android turn off ndk auto build
- NDK-build vs Android Studio NDK Build
- Android NDK Eclipse Build Error: Unable to rename file. Reason: File exists
- Error: lo register required when build libunwind in android ndk
- Android NDK sample build error linux
- Create a release build with Android with custom builders
- Custom Android build script in eclipse that behaves differently for release and debug without ant
- Android NDK Source Compiled & Build Successfully - But Function 'to_string' could not be resolved in Eclipse IDE
- Build all binaries for different Android app stores in a single step
- Export custom android eclipse project to maven build type
- How can I (Should I?) modify the Eclipse build process to build a custom android build?
- How is eclipse setting the include paths in Paths and Symbols from Android NDK build files
- NDK build error after replacing Tegra Android Development Pack by ndk-r9c
- Android NDK build error
- Eclipse / Android : "Errors running builder 'Android Pre Compiler' on project..."
- Android NDK debugging in Eclipse - how to stop segfaults/SIGILL that only occur when stepping in native code
- Android project won't build when editing a resource file
- Set Build path in Eclipse for ndk program
- Is it possible to use the Gradle build system for Android with Eclipse?
- Build multiple (test/prod) versions of Android APKs in Eclipse
- Android Pre Compiler error on 21.0.1 android sdk
- Android Pre Compiler error?
- Custom Lint Rule not listed in eclipse / android studio
- Include maven dependencies in eclipse "Run As -> Android Application" build
- Eclipse indexer errors when using STL with Android NDK
- Android Maven build gives trouble processing "javax/xml/namespace/QName.class":
- Fixing Eclipse errors when using Android NDK and std::vector
More Query from same tag
- Accessing a library (compiled using higher jdk) gives exception when accessed from lower JRE
- Trouble in calling the bean file in MVN created Spring based Java Project
- spring longpolling example code?
- Account Registeration Issue In Android Device
- How to deploy Play! app to GAE from Eclipse?
- Importing netbeans to eclipse
- generate an input file for each map task
- org.apache.catalina.LifecycleException tomcat error
- Eclipse Checkstyle Plugin works with Java 1.5?
- Syntax Tree in Java - CDT
- Can I see the exact command that is been executed with project clean in eclipse?
- how to open a jar file in Eclipse
- maven eclipse:eclipse order of source folders get lost
- Unity project exported to android project exception (Multiple dex files define Lcom/qualcomm/QCARUnityPlayer/BuildConfig)
- Not able to find Face and FaceRecognition classes
- how to remove the <return> tag from response xml in axis2 Wizard generated bottom up webservice
- eclipse Java autocompletion doesnt work
- Is it possible to configure eclipse ee to make autocomplete in javascript code in js files in a java project?
- Java Decompiler plugin in Eclipse with JavaDoc
- Creating a Generic Java EE Project in Eclipse
- Wand ImageMagick will not convert PDF to PNG in Eclipse, works in Terminal
- How to specifically suppress "Comparing identical expressions" in Eclipse-Helios JDT
- Export wizard gives error
- The method epli(String[]) in the type nammi is not applicable for the arguments ()
- How do I enter HTML tags in a TLD description of a tag?
- does eclipse have it's own JDK? or it uses the JDK on my computer?
- Get notification when tabs focus changes in MultiPageEditorPart
- Logger not logging all events?
- Enable debug mode with liferay in weblogic server? and debug in eclipse with those serves?
- A fatal error has been detected by jre while developing android application