Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC ADC 100M 14b 4cha - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
FMC ADC 100M 14b 4cha - Software
Commits
c7e87b69
Commit
c7e87b69
authored
Apr 28, 2014
by
Jose Jimenez
Committed by
Federico Vaga
Apr 30, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libtools/Makefile & tools/Makefile: Install rules defined
parent
5f7652ca
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
+13
-0
Makefile
libtools/Makefile
+7
-0
Makefile
tools/Makefile
+6
-0
No files found.
libtools/Makefile
View file @
c7e87b69
DESTDIR
?=
/usr/local
LIBADC
=
../lib/
ZIO
?=
../zio
...
...
@@ -8,10 +10,15 @@ DEMOS := fald-simple-acq fald-acq fald-trg-cfg
DEMOS
+=
fald-simple-get-conf
DEMOS
+=
fald-test
all
:
demo
demo
:
$(DEMOS)
install
:
install
-d
$(DESTDIR)
/bin
install
-D
$(DEMOS)
$(DESTDIR)
/bin
%
:
%.c $(LIBADC)/libfmcadc.a
$(CC)
$(CFLAGS)
$^
-o
$@
$(LDFLAGS)
...
...
tools/Makefile
View file @
c7e87b69
# user-space tools for spec-fine-delay
M
=
$(
shell
/bin/pwd
)
/../kernel
DESTDIR
?=
/usr/local
HOST_EXTRACFLAGS
+=
-I
$(M)
-I
$(ZIO)
/include
-Wno-trigraphs
-Wall
-ggdb
...
...
@@ -17,6 +19,10 @@ clean:
# make nothing for module_install, but avoid errors
module_install
:
install
:
install
-d
$(DESTDIR)
/bin
install
-D
$
(
hostprogs-y
)
$(DESTDIR)
/bin
# we need this as we are out of the kernel
%
:
%.c
$(HOSTCC)
$(HOST_EXTRACFLAGS)
-O2
-Wall
$^
-o
$@
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