Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
Programmable RF Attenuator
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
Snippets
Snippets
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Programmable RF Attenuator
Commits
9cc7370e
Commit
9cc7370e
authored
Nov 05, 2021
by
Juan David González Cobas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add build target usb-enum
parent
33180743
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
Makefile
software/lib/Makefile
+4
-2
No files found.
software/lib/Makefile
View file @
9cc7370e
...
...
@@ -6,7 +6,7 @@ CFLAGS += -DGIT_VERSION=\"$(GIT_VERSION)\"
GIT_VERSION
=
$(
shell
git describe
--dirty
--tags
--all
--long
)
LIBNAME
=
liboasis-usb-att
all
:
lib testprog
all
:
lib testprog
usb-enum
lib
:
$(LIBNAME).a $(LIBNAME).so
$(LIBNAME).a
:
$(OBJS)
...
...
@@ -14,8 +14,10 @@ $(LIBNAME).a: $(OBJS)
$(LIBNAME).so
:
$(OBJS)
$(CC)
$(CFLAGS)
-shared
-o
$@
$^
$(LDFLAGS)
$(LDLIBS)
usb-enum
:
usb-enum.o
usb-enum
:
LDLIBS += -ludev
testprog
:
test.o $(LIBNAME).a
$(CC)
$(CFLAGS)
$^
-o
$@
$(LDLIBS)
$(LDFLAGS)
clean
:
rm
-f
*
.a
*
.o
*
.so testprog
rm
-f
*
.a
*
.o
*
.so testprog
usb-enum
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