Commit f14bec39 authored by Mikhail Karpenko's avatar Mikhail Karpenko

Fix installation error and disable optimization in Makefile

parent 594cf1ed
PROG = str
CXXFLAGS += -Wall -O2 -std=c++11 -I$(STAGING_DIR_HOST)/usr/include-uapi
LDFLAGS += -s -lpthread -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
......@@ -18,14 +18,14 @@ IMAGEDIR = $(WWW_PAGES)/images
all: $(PROG)
%.o: %.cpp
$(CXX) $(CXXFLAGS) -c -o $@ $<
install: $(PROG)
rm -f *.o *.ver *.mp *~ core* .depend $(PROG)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment