X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=server%2FMakefile;h=929b40d43b1ef588e18f33dabf258e3a80cab28e;hb=1bd69503f71866cee4d04f29bcb3cdb594ab6f5f;hp=ef834a13cd922047b4a0ae43316cae6cbaf87c54;hpb=7cf2a1ee590162b788f14a7a51f533ded133770e;p=matches%2FMCTX3420.git diff --git a/server/Makefile b/server/Makefile index ef834a1..929b40d 100644 --- a/server/Makefile +++ b/server/Makefile @@ -1,11 +1,14 @@ # Makefile for server software CXX = gcc -FLAGS = -std=c99 -Wall -Werror -pedantic -g -LIB = -lpthread -lfcgi -lssl -lcrypto -OBJ = log.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 +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 RM = rm -f BIN = server +#BIN2 = stream + +all : $(BIN) $(BIN2) $(BIN) : $(OBJ) @@ -18,11 +21,11 @@ $(BIN) : $(OBJ) clean : - $(RM) $(BIN) + $(RM) $(BIN) $(BIN2) $(RM) *.o clean_full: #cleans up all backup files - $(RM) $(BIN) $(OBJ) $(LINKOBJ) + $(RM) $(BIN) $(BIN2) $(OBJ) $(LINKOBJ) $(RM) *.*~ $(RM) *~