Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
RIOT
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
Container registry
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
RIOT
Commits
182151f4
Commit
182151f4
authored
12 years ago
by
Oleg Hahm
Browse files
Options
Downloads
Patches
Plain Diff
* added makefiles for chronos and msba2
parent
d9017085
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
chronos/makefile
+35
-0
35 additions, 0 deletions
chronos/makefile
makefile
+5
-0
5 additions, 0 deletions
makefile
msba2/makefile
+27
-0
27 additions, 0 deletions
msba2/makefile
with
67 additions
and
0 deletions
chronos/makefile
0 → 100644
+
35
−
0
View file @
182151f4
SRC
=
$(
wildcard
*
.c
)
BINDIR
=
bin/
OBJ
=
$(
SRC:%.c
=
$(
BINDIR
)
%.o
)
## defines
DEP
=
$(
SRC:%.c
=
$(
BINDIR
)
%.d
)
INCLUDES
=
-Iinclude
-I
../../feuerware-base/sys/lib
-I
../../feuerware-base/sys/drivers/include
INCLUDES
+=
-I
../../feuerware-base/sys/drivers/cc110x_ng/include
INCLUDES
+=
-I
../../feuerware-base/core/include
INCLUDES
+=
-I
../../feuerware-base/cpu/msp430/include/
INCLUDES
+=
-I
../../feuerware-base/cpu/cc430/include/
INCLUDES
+=
-I
/usr/msp430/include/
all
:
$(BINDIR)chronos_base.a
$(
MAKE
)
-C
drivers
$(BINDIR)chronos_base.a
:
$(OBJ)
$(
AR
)
rcs
$(
BINDIR
)
chronos_base.a
$(
OBJ
)
# pull in dependency info for *existing* .o files
-include
$(OBJ:.o=.d)
# compile and generate dependency info
$(BINDIR)%.o
:
%.c
$(
CC
)
$(
CFLAGS
)
$(
INCLUDES
)
$(
BOARDINCLUDE
)
$(
PROJECTINCLUDE
)
$(
CPUINCLUDE
)
-c
$*
.c
-o
$(
BINDIR
)
$*
.o
$(
CC
)
$(
CFLAGS
)
$(
INCLUDES
)
$(
BOARDINCLUDE
)
$(
PROJECTINCLUDE
)
$(
CPUINCLUDE
)
-MM
$*
.c
>
$(
BINDIR
)
$*
.d
@
printf
"
$(
BINDIR
)
"
|cat -
$(
BINDIR
)
$*
.d
>
/tmp/fw_out
&&
mv
/tmp/fw_out
$(
BINDIR
)
$*
.d
# remove compilation products
clean
:
rm
-f
$(
BINDIR
)
chronos_base.a
$(
OBJ
)
$(
DEP
)
$(
MAKE
)
-C
drivers clean
This diff is collapsed.
Click to expand it.
makefile
0 → 100644
+
5
−
0
View file @
182151f4
all
:
$(
MAKE
)
-C
$(
BOARD
)
clean
:
$(
MAKE
)
-C
$(
BOARD
)
clean
This diff is collapsed.
Click to expand it.
msba2/makefile
0 → 100644
+
27
−
0
View file @
182151f4
SRC
=
$(
wildcard
*
.c
)
BINDIR
=
bin/
OBJ
=
$(
SRC:%.c
=
$(
BINDIR
)
%.o
)
## defines
DEP
=
$(
SRC:%.c
=
$(
BINDIR
)
%.d
)
INCLUDES
+=
-I
$(
RIOTBASE
)
/cpu/arm_common/include/
INCLUDES
+=
-I
$(
RIOTBASE
)
/cpu/lpc2387/include/
all
:
$(BINDIR)msba2_base.a
$(BINDIR)msba2_base.a
:
$(OBJ)
$(
AR
)
rcs
$(
BINDIR
)
msba2_base.a
$(
OBJ
)
# pull in dependency info for *existing* .o files
-include
$(OBJ:.o=.d)
# compile and generate dependency info
$(BINDIR)%.o
:
%.c
$(
CC
)
$(
CFLAGS
)
$(
INCLUDES
)
$(
BOARDINCLUDE
)
$(
PROJECTINCLUDE
)
$(
CPUINCLUDE
)
-c
$*
.c
-o
$(
BINDIR
)
$*
.o
$(
CC
)
$(
CFLAGS
)
$(
INCLUDES
)
$(
BOARDINCLUDE
)
$(
PROJECTINCLUDE
)
$(
CPUINCLUDE
)
-MM
$*
.c
>
$(
BINDIR
)
$*
.d
@
printf
"
$(
BINDIR
)
"
|cat -
$(
BINDIR
)
$*
.d
>
/tmp/riot_out
&&
mv
/tmp/riot_out
$(
BINDIR
)
$*
.d
# remove compilation products
clean
:
rm
-f
$(
BINDIR
)
riot_base.a
$(
OBJ
)
$(
DEP
)
This diff is collapsed.
Click to expand it.
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