Add input rdef location to include dir, otherwise when rc reads from stdin,
no include dir is defined and import commands will failed then. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39825 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -272,9 +272,9 @@ $(OBJ_DIR)/%.o : %.CPP
|
|||||||
|
|
||||||
# rules to compile resource definition files
|
# rules to compile resource definition files
|
||||||
$(OBJ_DIR)/%.rsrc : %.rdef
|
$(OBJ_DIR)/%.rsrc : %.rdef
|
||||||
cat $< | $(CC) -E $(INCLUDES) $(CFLAGS) - | grep -v '^#' | $(RESCOMP) -o "$@" -
|
cat $< | $(CC) -E $(INCLUDES) $(CFLAGS) - | grep -v '^#' | $(RESCOMP) -I $(dir $<) -o "$@" -
|
||||||
$(OBJ_DIR)/%.rsrc : %.RDEF
|
$(OBJ_DIR)/%.rsrc : %.RDEF
|
||||||
cat $< | $(CC) -E $(INCLUDES) $(CFLAGS) - | grep -v '^#' | $(RESCOMP) -o "$@" -
|
cat $< | $(CC) -E $(INCLUDES) $(CFLAGS) - | grep -v '^#' | $(RESCOMP) -I $(dir $<) -o "$@" -
|
||||||
|
|
||||||
# rules to handle lex/flex and yacc/bison files
|
# rules to handle lex/flex and yacc/bison files
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user