Project

General

Profile

« Previous | Next » 

Revision 5481

input.Makefile: Maps building: %/.map.csv.last_cleanup: Fixed bug where needed to include $(coreMap) as a prerequisite, because even though it is not used directly in this target's recipe, it is used by targets invoked via recursive make after the main recipe runs. In general, whenever targets forward commands to a recursive make target, they also need to forward those recursive targets' prerequisites by including them in their own prerequisites list.

View differences:

input.Makefile
251 251

  
252 252
# Via maps cleanup
253 253
ifneq ($(filter %/.map.csv.last_cleanup,$(MAKECMDGOALS)),)
254
%/.map.csv.last_cleanup: %/map.csv $(vocab) $(dict)
254
%/.map.csv.last_cleanup: %/map.csv $(vocab) $(dict) $(coreMap)
255 255
	$(bin)/in_place $< $(bin)/canon 1 $(vocab)
256 256
	$(bin)/in_place $< $(bin)/canon 1 $(dict)
257 257
	$(bin)/in_place $< $(bin)/translate 1 $(dict)

Also available in: Unified diff