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
2d4b33a1
Commit
2d4b33a1
authored
Mar 19, 2000
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added support for source files stored in subdirectories.
parent
07e42136
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
makedep.c
tools/makedep.c
+4
-5
No files found.
tools/makedep.c
View file @
2d4b33a1
...
...
@@ -261,8 +261,7 @@ static void output_include( FILE *file, INCL_FILE *pFile,
*/
static
void
output_src
(
FILE
*
file
,
INCL_FILE
*
pFile
,
int
*
column
)
{
char
*
name
=
strrchr
(
pFile
->
name
,
'/'
);
char
*
obj
=
xstrdup
(
name
?
name
+
1
:
pFile
->
name
);
char
*
obj
=
xstrdup
(
pFile
->
name
);
char
*
ext
=
strrchr
(
obj
,
'.'
);
if
(
ext
)
{
...
...
@@ -278,9 +277,9 @@ static void output_src( FILE *file, INCL_FILE *pFile, int *column )
}
else
if
(
!
strcmp
(
ext
,
".rc"
))
/* resource file */
{
*
ext
=
'\0'
;
fprintf
(
file
,
"%s
.s
: %s"
,
obj
,
pFile
->
filename
);
*
column
+=
2
*
strlen
(
obj
)
+
strlen
(
pFile
->
filename
)
+
7
;
strcpy
(
ext
,
".s"
)
;
fprintf
(
file
,
"%s: %s"
,
obj
,
pFile
->
filename
);
*
column
+=
strlen
(
obj
)
+
strlen
(
pFile
->
filename
)
;
}
else
{
...
...
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