W dniu 29.08.2010 18:33, Octavian Voicu pisze:
2010/8/29 Mariusz Plucińskivshader@gmail.com:
Could you tell me is there proper way to tell make to track changes in my custom file? Expected effect is running wrc while build if there was modification in my .gdf.xml file (currently, it is started only if .rc file was modified). Of course, Makefiles in Wine are auto-generated, so the solution would add code only to Makefile.in file.
You need to add a @makedep directive in gameux/tests/rsrc.rc:
/* @makedep: test.gdf.xml */ ID_GDF_XML DATA "test.gdf.xml"
This should include test.gdf.xml as a dependency for rsrc.res in the automatically generated Makefile. See dlls/cards/cards.rc for more examples.
Octavian
Thanks Octavian, it works exactly as I expected.