Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
elphel-apps-astreamer
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Elphel
elphel-apps-astreamer
Commits
f14bec39
Commit
f14bec39
authored
Feb 21, 2017
by
Mikhail Karpenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix installation error and disable optimization in Makefile
parent
594cf1ed
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
Makefile
src/Makefile
+4
-4
No files found.
src/Makefile
View file @
f14bec39
PROG
=
str
CXXFLAGS
+=
-Wall
-
O2
-std
=
c++11
-I
$(STAGING_DIR_HOST)
/usr/include-uapi
LDFLAGS
+=
-s
-
l
pthread
-lasound
CXXFLAGS
+=
-Wall
-
std
=
c++03
-I
$(STAGING_DIR_HOST)
/usr/include-uapi
LDFLAGS
+=
-s
-pthread
-lasound
SRCS
=
main.cpp streamer.cpp audio.cpp video.cpp socket.cpp rtsp.cpp rtp_stream.cpp helpers.cpp parameters.cpp
STREAMER_OBJS
=
$
(
SRCS:.cpp
=
.o
)
...
...
@@ -18,14 +18,14 @@ IMAGEDIR = $(WWW_PAGES)/images
all
:
$(PROG)
$(PROG)
:
$(STREAMER_OBJS)
$(CXX)
$(LDFLAGS)
-o
$@
$(STREAMER_OBJ
S)
$(CXX)
-o
$@
$(STREAMER_OBJS)
$(LDFLAG
S)
%.o
:
%.cpp
$(CXX)
$(CXXFLAGS)
-c
-o
$@
$<
install
:
$(PROG)
$(INSTALL)
$(OWN)
-d
$(DESTDIR)$(BINDIR)
$(INSTALL)
-m
$(INSTMODE)
$(OWN)
$(PROG
S
)
$(DESTDIR)$(BINDIR)
$(INSTALL)
-m
$(INSTMODE)
$(OWN)
$(PROG)
$(DESTDIR)$(BINDIR)
clean
:
rm
-f
*
.o
*
.ver
*
.mp
*
~ core
*
.depend
$(PROG)
...
...
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