Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
wr2rf-vme
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
5
Issues
5
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
wr2rf-vme
Commits
93187f78
Commit
93187f78
authored
Mar 30, 2021
by
Tristan Gingold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Makefile: put host objs to the library
parent
1fbab48c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
Makefile
software/libwr2rf/Makefile
+4
-4
No files found.
software/libwr2rf/Makefile
View file @
93187f78
...
@@ -14,13 +14,13 @@ all: libwr2rf.a wr2rf spi_echo
...
@@ -14,13 +14,13 @@ all: libwr2rf.a wr2rf spi_echo
%.o
:
%.c
%.o
:
%.c
$(CC)
$(CFLAGS)
-MMD
-c
$<
-o
$@
$(CC)
$(CFLAGS)
-MMD
-c
$<
-o
$@
libwr2rf.a
:
$(OBJS_LIB)
libwr2rf.a
:
$(OBJS_LIB)
$(OBJS_HOST)
$(AR)
rcv
$@
$
(OBJS_LIB)
$(AR)
rcv
$@
$
^
spi_echo
:
$(OBJS_HOST)
spi_echo.o libwr2rf.a
spi_echo
:
spi_echo.o libwr2rf.a
$(CC)
-o
$@
$^
$(LDFLAGS)
$(CC)
-o
$@
$^
$(LDFLAGS)
wr2rf
:
wr2rf.o libwr2rf.a
$(OBJS_HOST)
wr2rf
:
wr2rf.o libwr2rf.a
$(CC)
-o
$@
$^
$(LDFLAGS)
$(CC)
-o
$@
$^
$(LDFLAGS)
clean
:
clean
:
...
...
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