Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
White Rabbit core collection
Manage
Activity
Members
Labels
Plan
Issues
33
Issue boards
Milestones
Wiki
Code
Merge requests
3
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor 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
Projects
White Rabbit core collection
Commits
a7b3b241
There was an error fetching the commit references. Please try again later.
Commit
a7b3b241
authored
11 years ago
by
Wesley W. Terpstra
Browse files
Options
Downloads
Patches
Plain Diff
eca lib: build and install with conditional directories
parent
ebc5758d
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/wr_eca/Makefile
+7
-4
7 additions, 4 deletions
modules/wr_eca/Makefile
with
7 additions
and
4 deletions
modules/wr_eca/Makefile
+
7
−
4
View file @
a7b3b241
PREFIX
?=
/usr/local
EB
?=
../../ip_cores/etherbone-core/api
CXX
=
g++
CXX
=
g++
CXXFLAGS
=
-Wall
-O2
-I
.
CXXFLAGS
=
-Wall
-O2
-I
.
-I
$(
EB
)
TARGETS
=
lib/version.h libeca.a eca-ctl eca-table
TARGETS
=
lib/version.h libeca.a eca-ctl eca-table
all
:
$(TARGETS)
all
:
$(TARGETS)
install
:
install
:
cp
eca-ctl eca-table
/usr/local
/bin
cp
eca-ctl eca-table
$(
PREFIX
)
/bin
clean
:
clean
:
rm
-f
$(
TARGETS
)
*
.o lib/
*
.o git.
*
rm
-f
$(
TARGETS
)
*
.o lib/
*
.o git.
*
eca-ctl
:
eca-ctl.o libeca.a
eca-ctl
:
eca-ctl.o libeca.a
$(
CXX
)
$(
CXXFLAGS
)
-o
$@
$^
-letherbone
$(
CXX
)
$(
CXXFLAGS
)
-o
$@
$^
-L
$(
EB
)
-Wl
,-rpath,
$(
PREFIX
)
/lib
-letherbone
eca-table
:
eca-table.o libeca.a
eca-table
:
eca-table.o libeca.a
$(
CXX
)
$(
CXXFLAGS
)
-o
$@
$^
-letherbone
$(
CXX
)
$(
CXXFLAGS
)
-o
$@
$^
-L
$(
EB
)
-Wl
,-rpath,
$(
PREFIX
)
/lib
-letherbone
libeca.a
:
lib/hw-eca.o lib/hw-stream.o lib/hw-channel.o
\
libeca.a
:
lib/hw-eca.o lib/hw-stream.o lib/hw-channel.o
\
lib/load-search.o lib/load-walk.o lib/load-queue.o lib/load-eca.o
\
lib/load-search.o lib/load-walk.o lib/load-queue.o lib/load-eca.o
\
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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