Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vinniel
makefile
Commits
b08db67b
Commit
b08db67b
authored
May 07, 2019
by
paoletti
Browse files
Skip xcode_redirect.hpp when checking for identifier.
parent
b1f49aea
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
b08db67b
...
...
@@ -96,7 +96,7 @@ static:
# include the project identifier; skip subdirectories;
# also removes old submit tarballs, they are outdated
identifier
:
@
if
[
$$
(
grep
--include
=
*
.
{
h,hpp,c,cpp
}
--directories
=
skip
-L
$(IDENTIFIER)
*
|
wc
-l
)
-ne
0
]
;
then
echo
-n
"Missing project identifier in file(s): "
;
echo
`
grep
--include
=
*
.
{
h,hpp,c,cpp
}
--directories
=
skip
-L
$(IDENTIFIER)
*
`
;
rm
-f
$(PARTIAL_SUBMITFILE)
$(FULL_SUBMITFILE)
;
exit
1
;
fi
@
if
[
$$
(
grep
--include
=
*
.
{
h,hpp,c,cpp
}
--exclude
=
xcode_redirect.hpp
--directories
=
skip
-L
$(IDENTIFIER)
*
|
wc
-l
)
-ne
0
]
;
then
echo
-n
"Missing project identifier in file(s): "
;
echo
`
grep
--include
=
*
.
{
h,hpp,c,cpp
}
--directories
=
skip
-L
$(IDENTIFIER)
*
`
;
rm
-f
$(PARTIAL_SUBMITFILE)
$(FULL_SUBMITFILE)
;
exit
1
;
fi
# Build both release and debug executables
all
:
clean
...
...
Write
Preview
Supports
Markdown
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