Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
3dfcec76
Commit
3dfcec76
authored
Jan 07, 2014
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
makefiles: Always create dependencies from the top-level directory.
parent
0d533cf0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
7 deletions
+8
-7
Make.rules.in
Make.rules.in
+0
-7
makedep.c
tools/makedep.c
+8
-0
No files found.
Make.rules.in
View file @
3dfcec76
...
...
@@ -20,13 +20,6 @@ OBJS = $(C_SRCS:.c=.o) $(BISON_SRCS:.y=.tab.o) $(LEX_SRCS:.l=.yy.o) $(OBJC_SRCS:
ALLCROSSCFLAGS = $(CPPFLAGS) $(CFLAGS)
# Rules for dependencies
depend: dummy
$(MAKEDEP) -M .
.PHONY: depend
# Rules for cleaning
clean::
...
...
tools/makedep.c
View file @
3dfcec76
...
...
@@ -1944,6 +1944,7 @@ static struct strarray output_sources(void)
output
(
"
\t
$(RM)"
);
output_filenames
(
clean_files
);
output
(
"
\n
"
);
strarray_add
(
&
phony_targets
,
"clean"
);
}
if
(
subdirs
.
count
)
...
...
@@ -1953,6 +1954,13 @@ static struct strarray output_sources(void)
output
(
"
\t
$(MKDIR_P) -m 755 $@
\n
"
);
}
if
(
top_obj_dir
)
{
output
(
"depend:
\n
"
);
output
(
"
\t
@cd %s && $(MAKE) %s/depend
\n
"
,
top_obj_dir
,
base_dir
);
strarray_add
(
&
phony_targets
,
"depend"
);
}
if
(
phony_targets
.
count
)
{
output
(
".PHONY:"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment