corrected makefile

changed defines.h to rgb mode and set new HASH
master
Gunstick 2013-09-22 14:34:25 +02:00
parent cbd20847f6
commit 89954b0344
2 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
frameserver: frameserver: Buffer.cpp Buffers.cpp Server.cpp frameserver.cpp Buffer.h Buffers.h defines.h Server.h
g++ -O2 -ggdb Buffer.cpp Buffers.cpp Server.cpp frameserver.cpp `pkg-config --libs --cflags ncurses` `pkg-config --libs --cflags glibmm-2.4` `pkg-config --libs --cflags gthread-2.0` -lboost_system -o frameserver g++ -O2 -ggdb Buffer.cpp Buffers.cpp Server.cpp frameserver.cpp `pkg-config --libs --cflags ncurses` `pkg-config --libs --cflags glibmm-2.4` `pkg-config --libs --cflags gthread-2.0` -lboost_system -o frameserver
test: test:
g++ -O2 -pipe -fpermissive -fomit-frame-pointer Buffer.cpp Buffers.cpp test.cpp `pkg-config --libs --cflags glibmm-2.4` `pkg-config --libs --cflags gthread-2.0` -o test g++ -O2 -pipe -fpermissive -fomit-frame-pointer Buffer.cpp Buffers.cpp test.cpp `pkg-config --libs --cflags glibmm-2.4` `pkg-config --libs --cflags gthread-2.0` -o test

View File

@ -8,17 +8,17 @@
#define NUMBUFS 1000 #define NUMBUFS 1000
#define REMOTE_IP "127.0.0.1" #define REMOTE_IP "127.0.0.1"
#define REMOTE_PORT 1234 #define REMOTE_PORT 4422
#define HASH "abcdefghij" #define HASH "s2j\n8<18< "
// one byte number + 10 character hash plus newline // one byte number + 10 character hash plus newline
#define HEADEROFFSET 12 #define HEADEROFFSET 12
// 12 windows per floor, 7 floors, Value:Alpha // 12 windows per floor, 7 floors, Value:Alpha
#define WIDTH 12 #define WIDTH 12
#define HEIGHT 7 #define HEIGHT 7
#define CHANNELS 2 #define CHANNELS 4
#define WINDOWOFFSET (WIDTH*CHANNELS+1)*HEIGHT #define WINDOWOFFSET (WIDTH*CHANNELS+1)*HEIGHT