I've been trying to compile a project using the Windows command window and the gnu compiler. I've got this error:
../../../../make/compiler_rules.mk:40: *** multiple target patterns. Stop.
Here is the lines 29 to 45 of the makefile:
#----------------------------------------------------------------------*
#### Compilation rules. ASM files.
#----------------------------------------------------------------------*
$(OBJ_DIR)/%.s.o: $(A_DIR)/%.s $(OIL_OUTPUTS)
@if [ ! -d $(OBJ_DIR) ];
then mkdir -p $(OBJ_DIR);
fi;
$(AS) $(ASFLAGS) $< -o $@
$(OBJ_DIR)/%.S.i: $(A_DIR)/%.S $(OIL_OUTPUTS)
@if [ ! -d $(OBJ_DIR) ]; then mkdir -p $(OBJ_DIR); fi;
$(CPP) $(CPPFLAGS) $< -o $@
$(OBJ_DIR)/%.S.o: $(OBJ_DIR)/%.S.i $(OIL_OUTPUTS)
@if [ ! -d $(OBJ_DIR) ]; then mkdir -p $(OBJ_DIR); fi;
$(AS) $(ASFLAGS) $< -o $@
I've understood through some previous posts here that it's due to whethere spaces or colons in tha names of files or directories. I've checked and ther is none. What could it be?