New compilation method

This commit is contained in:
Thulinma 2011-04-18 16:29:48 +02:00
parent bf0b976999
commit 42befc2498
8 changed files with 21 additions and 20 deletions

View file

@ -2,7 +2,9 @@ SRC = main.cpp ../util/ddv_socket.cpp ../util/http_parser.cpp ../util/flv_tag.cp
OBJ = $(SRC:.cpp=.o)
OUT = DDV_Conn_HTTP
INCLUDES =
CCFLAGS = -Wall -Wextra -funsigned-char -g
DEBUG = 4
OPTIMIZE = -g
CCFLAGS = -Wall -Wextra -funsigned-char $(OPTIMIZE) -DDEBUG=$(DEBUG)
CC = $(CROSS)g++
LD = $(CROSS)ld
AR = $(CROSS)ar

View file

@ -1,14 +1,6 @@
/// \file Connector_HTTP/main.cpp
/// Contains the main code for the HTTP Connector
/// Sets the global debugging level.
// debugging level 0 = nothing
// debugging level 1 = critical errors
// debugging level 2 = errors
// debugging level 3 = status information
// debugging level 4 = extremely verbose status information
#define DEBUG 4
#include <iostream>
#include <queue>
#include <cstdlib>