Fixed and tested piped process support, first version of main DDV_Controller application

This commit is contained in:
Thulinma 2011-10-15 05:27:36 +02:00
parent 499899d405
commit 516a91e37c
4 changed files with 236 additions and 32 deletions

18
DDV_Controller/Makefile Normal file
View file

@ -0,0 +1,18 @@
SRC = main.cpp ../util/json/json_reader.cpp ../util/json/json_value.cpp ../util/json/json_writer.cpp ../util/socket.cpp ../util/http_parser.cpp ../util/md5.cpp
OBJ = $(SRC:.cpp=.o)
OUT = DDV_Controller
INCLUDES =
CCFLAGS = -Wall -Wextra -funsigned-char -g
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 *~