Connector_TS Added
This commit is contained in:
parent
ca59fdefbd
commit
6b719ea726
8 changed files with 161 additions and 5 deletions
26
Connector_TS/Makefile
Normal file
26
Connector_TS/Makefile
Normal file
|
@ -0,0 +1,26 @@
|
|||
SRC = main.cpp ../util/socket.cpp ../util/flv_tag.cpp
|
||||
OBJ = $(SRC:.cpp=.o)
|
||||
OUT = DDV_Conn_TS
|
||||
INCLUDES =
|
||||
DEBUG = 4
|
||||
OPTIMIZE = -g
|
||||
CCFLAGS = -Wall -Wextra -funsigned-char $(OPTIMIZE) -DDEBUG=$(DEBUG)
|
||||
CC = $(CROSS)g++
|
||||
LD = $(CROSS)ld
|
||||
AR = $(CROSS)ar
|
||||
LIBS=
|
||||
.SUFFIXES: .cpp
|
||||
.PHONY: clean default
|
||||
default: $(OUT)
|
||||
.cpp.o:
|
||||
$(CC) $(INCLUDES) $(CCFLAGS) $(LIBS) -c $< -o $@
|
||||
$(OUT): $(OBJ)
|
||||
$(CC) $(LIBS) -o $(OUT) $(OBJ)
|
||||
clean:
|
||||
rm -rf $(OBJ) $(OUT) Makefile.bak *~
|
||||
install: $(OUT)
|
||||
-service HTTP_Conn stop
|
||||
cp -f ./$(OUT) /usr/bin/
|
||||
cp -f ./HTTP_Conn /etc/init.d/
|
||||
service HTTP_Conn start
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue