X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=server%2FMakefile;h=f754c472bcb41fd247048b957ab2365dabf9956b;hb=a668061144aa18eb3f127d1b17518fd6ec0cce73;hp=e85a72e76708134dfd5e65e419b0088ec48c6036;hpb=ed21599957130173a661904f22e50af59a96a6ac;p=matches%2FMCTX3420.git diff --git a/server/Makefile b/server/Makefile index e85a72e..f754c47 100644 --- a/server/Makefile +++ b/server/Makefile @@ -1,12 +1,17 @@ # Makefile for server software CXX = gcc FLAGS = -std=c99 -Wall -Werror -pedantic -g -LIB = -lpthread -lfcgi -lssl -OBJ = log.o sensor.o fastcgi.o thread.o main.o +LIB = -lpthread -lfcgi -lssl -lcrypto +OBJ = log.o control.o sensor.o fastcgi.o thread.o main.o RM = rm -f BIN = server +all : $(BIN) stream + +stream : stream.c + $(CXX) -o stream stream.c -I/usr/include/opencv -I/usr/include/opencv2/highgui -L/usr/lib -lopencv_highgui -lopencv_core -lopencv_ml -lopencv_imgproc + $(BIN) : $(OBJ) $(CXX) $(FLAGS) -o $(BIN) $(OBJ) $(LIB)