Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dw1000_driver_freertos
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cm-projects
dw1000_driver_freertos
Commits
a0afc594
There was a problem fetching the pipeline summary.
Commit
a0afc594
authored
9 years ago
by
Georg von Zengen
Browse files
Options
Downloads
Patches
Plain Diff
makefile.inc is now better includable
parent
1dcbaa85
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
makefile.inc
+11
-2
11 additions, 2 deletions
makefile.inc
with
11 additions
and
2 deletions
makefile.inc
+
11
−
2
View file @
a0afc594
CFLAGS
+=
-I
"Inc"
-I
"dw1000/Inc/"
SRC
+=
$(
wildcard dw1000/Src/
*
.c
)
\ No newline at end of file
DRIVER_PATH
=
$(
dir
$(
lastword
$(
MAKEFILE_LIST
)))
SRC_DIR
=
$(
DRIVER_PATH
)
Src
INC_DIR
=
$(
DRIVER_PATH
)
Inc
DRIVER_SOURCES
=
$(
notdir
$(
wildcard Src/
*
.c
))
CFLAGS
+=
-I
$(
INC_DIR
)
CXXFLAGS
+=
-I
$(
INC_DIR
)
OBJECTS
+=
$(
addprefix
$(
BUILD_DIR
)
/,
$(
DRIVER_SOURCES:%.c
=
%.o
))
$(BUILD_DIR)/%.o
:
$(SRC_DIR)/%.c
$(
CC
)
$(
CFLAGS
)
-o
$@
-c
$<
This diff is collapsed.
Click to expand it.
Georg von Zengen
@vonzeng
mentioned in commit
630e1dc8
·
9 years ago
mentioned in commit
630e1dc8
mentioned in commit 630e1dc86de394570d2b22d8e3f02892f1740ae6
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment