Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ycai
simbricks
Commits
8efd8c2e
Commit
8efd8c2e
authored
Feb 11, 2021
by
Antoine Kaufmann
Browse files
Makefile: inline mk/global.mk into toplevel Makefile
parent
32a74b8e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
40 deletions
+12
-40
Makefile
Makefile
+12
-1
mk/global.mk
mk/global.mk
+0
-33
mk/subdir_post.mk
mk/subdir_post.mk
+0
-6
No files found.
Makefile
View file @
8efd8c2e
...
@@ -33,12 +33,22 @@ VFLAGS = +1364-2005ext+v \
...
@@ -33,12 +33,22 @@ VFLAGS = +1364-2005ext+v \
-Wno-WIDTH
-Wno-PINMISSING
-Wno-LITENDIAN
-Wno-IMPLICIT
-Wno-SELRANGE
\
-Wno-WIDTH
-Wno-PINMISSING
-Wno-LITENDIAN
-Wno-IMPLICIT
-Wno-SELRANGE
\
-Wno-CASEINCOMPLETE
-Wno-UNSIGNED
-Wno-CASEINCOMPLETE
-Wno-UNSIGNED
$(eval
$(call
subdir,lib))
$(eval
$(call
subdir,lib))
$(eval
$(call
subdir,sims))
$(eval
$(call
subdir,sims))
$(eval
$(call
subdir,doc))
$(eval
$(call
subdir,doc))
$(eval
$(call
subdir,images))
$(eval
$(call
subdir,images))
all
:
$(ALL_ALL)
.DEFAULT_GOAL
:=
all
clean
:
rm
-rf
$(CLEAN_ALL)
distclean
:
rm
-rf
$(CLEAN_ALL)
$(DISTCLEAN_ALL)
help
:
help
:
@
echo
"Targets:"
@
echo
"Targets:"
@
echo
" all: builds all the tools directly in this repo"
@
echo
" all: builds all the tools directly in this repo"
...
@@ -48,6 +58,7 @@ help:
...
@@ -48,6 +58,7 @@ help:
@
echo
" external: clone and build our tools in external repos "
@
echo
" external: clone and build our tools in external repos "
@
echo
" (qemu, gem5, ns-3)"
@
echo
" (qemu, gem5, ns-3)"
.PHONY
:
help
.PHONY
:
all clean distclean
help
include
mk/subdir_post.mk
include
mk/subdir_post.mk
-include
$(DEPS_ALL)
mk/global.mk
deleted
100644 → 0
View file @
32a74b8e
# Copyright 2021 Max Planck Institute for Software Systems, and
# National University of Singapore
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, merge, publish,
# distribute, sublicense, and/or sell copies of the Software, and to
# permit persons to whom the Software is furnished to do so, subject to
# the following conditions:
#
# The above copyright notice and this permission notice shall be
# included in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
# IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
# CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
all
:
$(ALL_ALL)
clean
:
rm
-rf
$(CLEAN_ALL)
distclean
:
rm
-rf
$(CLEAN_ALL)
$(DISTCLEAN_ALL)
.PHONY
:
all clean distclean
.DEFAULT_GOAL
:=
all
mk/subdir_post.mk
View file @
8efd8c2e
...
@@ -30,12 +30,6 @@ DISTCLEAN_ALL := $(DISTCLEAN_ALL) $(DISTCLEAN)
...
@@ -30,12 +30,6 @@ DISTCLEAN_ALL := $(DISTCLEAN_ALL) $(DISTCLEAN)
DEPS_ALL
:=
$(DEPS_ALL)
$(DEPS)
DEPS_ALL
:=
$(DEPS_ALL)
$(DEPS)
ALL_ALL
:=
$(ALL_ALL)
$(ALL)
ALL_ALL
:=
$(ALL_ALL)
$(ALL)
ifeq
"$(d)" ""
include
mk/global.mk
-include
$(DEPS_ALL)
else
endif
d
:=
$
(
dirstack_
$(sp)
)
d
:=
$
(
dirstack_
$(sp)
)
sp
:=
$(
basename
$(sp)
)
sp
:=
$(
basename
$(sp)
)
...
...
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