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

@ -3,7 +3,9 @@ OBJ = $(SRC:.cpp=.o)
OUT = DDV_Conn_RTMP
INCLUDES =
STATIC =
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,13 +1,6 @@
/// \file Connector_RTMP/main.cpp
/// Contains the main code for the RTMP Connector
//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 <cstdlib>
#include <cstdio>