[WISH] Local target in cross compialtion

2006-06-07 Thread Jérôme Pouiller
Hi, I have made research in automake documentation/ML, but, I have not found any solution to compile binary for local host (used, for exemple, to build some headers) in a project configured for cross compilation. The best solution I found is : data.h: $(genData_SOURCES) $(MAKE) $(AM_MAK

Dependencies in BUILT_SOURCES

2006-06-07 Thread Jérôme Pouiller
Hi, This is not really a bug, but a lack of documentation. BUILT_SOURCES = templates.h data.h But my binary which make templates.h depend of data.h. So Automake cannot detect correctly dependencies and I need to add rule templates.h: data.h First, is it the best solution? Next, maybe it is