X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=server%2FMakefile;h=244490baecee836ec9b3248b692a31ff1b28979a;hb=7206c183756185eeea99afec12f11506810a0a33;hp=b674ab0c6e7b5d6744fd2e9ef39a78b3b5dc70ea;hpb=41bb73186e41a5601407a4d39bfd8c6817c02d74;p=matches%2FMCTX3420.git diff --git a/server/Makefile b/server/Makefile index b674ab0..244490b 100644 --- a/server/Makefile +++ b/server/Makefile @@ -1,8 +1,8 @@ # Makefile for server software CXX = gcc -FLAGS = -std=c99 -Wall -Werror -pedantic -g -LIB = -lfcgi -lssl -lcrypto -lpthread -lm -OBJ = log.o control.o sensor.o fastcgi.o thread.o main.o +FLAGS = -std=c99 -Wall -pedantic -g -I/usr/include/opencv -I/usr/include/opencv2/highgui -L/usr/lib +LIB = -lfcgi -lssl -lcrypto -lpthread -lm -lopencv_highgui -lopencv_core -lopencv_ml -lopencv_imgproc -lldap -lcrypt +OBJ = log.o control.o data.o fastcgi.o main.o sensor.o actuator.o image.o bbb_pin.o bbb_pin_defines.o pin_test.o login.o RM = rm -f BIN = server @@ -10,9 +10,6 @@ BIN = server all : $(BIN) $(BIN2) -#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 -lm - $(BIN) : $(OBJ) $(CXX) $(FLAGS) -o $(BIN) $(OBJ) $(LIB)