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
7e8ac46a
Commit
7e8ac46a
authored
Apr 21, 2023
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
makedep: Avoid generating empty dependencies.
parent
bddfcd07
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
6 deletions
+9
-6
makedep.c
tools/makedep.c
+9
-6
No files found.
tools/makedep.c
View file @
7e8ac46a
...
...
@@ -75,8 +75,8 @@ struct incl_file
int
included_line
;
/* line where this file was included */
enum
incl_type
type
;
/* type of include */
unsigned
int
arch
;
/* architecture for multi-arch files, otherwise 0 */
int
use_msvcrt
:
1
;
/* put msvcrt headers in the search path? */
int
is_external
:
1
;
/* file from external library? */
unsigned
int
use_msvcrt
:
1
;
/* put msvcrt headers in the search path? */
unsigned
int
is_external
:
1
;
/* file from external library? */
struct
incl_file
*
owner
;
unsigned
int
files_count
;
/* files in use */
unsigned
int
files_size
;
/* total allocated size */
...
...
@@ -3241,10 +3241,13 @@ static void output_source_default( struct makefile *make, struct incl_file *sour
strarray_add
(
&
make
->
test_files
,
obj
);
}
output_filenames_obj_dir
(
make
,
targets
);
output
(
":"
);
output_filenames
(
source
->
dependencies
);
output
(
"
\n
"
);
if
(
targets
.
count
&&
source
->
dependencies
.
count
)
{
output_filenames_obj_dir
(
make
,
targets
);
output
(
":"
);
output_filenames
(
source
->
dependencies
);
output
(
"
\n
"
);
}
}
...
...
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