[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[OT] make Pattern Rule problem



Sorry for the OT but I don't know where would be a good place to send
this.

I seem to have a problem with a make file where I defined a Pattern
Rule but it is being ignored and I get an error that the target file
does't exist.

The relevant parts:

RESCOMP = i586-mingw32msvc-windres

%.res : %.rc
	@echo building $@
	@$(RESCOMP) -i $< -o $@ $(RESFLAGS)

$(PROGRAM) : file.res
	[...]

error:
i586-mingw32msvc-c++: card_test_rc.res: No such file or directory


Any idea what I am missing here?

Thanks



Reply to: