Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Simple PCIe FMC carrier SPEC
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
50
Issues
50
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Simple PCIe FMC carrier SPEC
Commits
3d1a4453
Commit
3d1a4453
authored
Oct 12, 2023
by
Vaibhav Gupta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
software: simplify the makefile
Signed-off-by:
Vaibhav Gupta
<
vaibhav.gupta@cern.ch
>
parent
cc5d2153
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
12 deletions
+9
-12
Makefile
software/Makefile
+9
-12
No files found.
software/Makefile
View file @
3d1a4453
...
...
@@ -7,9 +7,11 @@ REPO_PARENT ?= $(TOPDIR)/..
-include
Makefile.specific
-include
$(REPO_PARENT)/parent_common.mk
DIRS
=
include
kernel tools
C_DIRS
=
kernel tools
.PHONY
:
all clean modules install modules_install coccicheck cppcheck $(DIRS)
DIRS
=
$(C_DIRS)
include
.PHONY
:
all flawfinder clean modules install modules_install coccicheck cppcheck $(DIRS)
all install modules_install coccicheck modules
:
$(DIRS)
...
...
@@ -17,17 +19,12 @@ modules: TARGET = modules
coccicheck
:
TARGET = coccicheck
install
:
TARGET = install
modules_install
:
TARGET = modules_install
clean
:
TARGET = clean
cppcheck
:
$(MAKE)
-C
tools
$@
headers
:
$(MAKE)
-C
include
$@
$(C_DIRS)
:
include
$(DIRS)
:
headers
$(DIRS)
:
$(MAKE)
-C
$@
$(ENV_VAR)
$(TARGET)
clean
:
$(MAKE)
-C
include
$@
$(MAKE)
-C
kernel
$@
$(MAKE)
-C
tools
$@
flawfinder cppcheck
:
for
d
in
$(DIRS)
;
do
$(MAKE)
-C
$$
d
$@
||
exit
1
;
done
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