X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=server%2FMakefile;h=3838876948c94872693578ed1fd403de04c18997;hb=e98b2d71aa507c8656b47752a529a3a2a619875a;hp=bb70c4f3d74e9cd91076d735f3083ceeb4d35eca;hpb=ea228f75c1f6d83f9a02a5ad5a7341caabac65c8;p=matches%2FMCTX3420.git diff --git a/server/Makefile b/server/Makefile index bb70c4f..3838876 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 data.o fastcgi.o main.o sensor.o actuator.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 RM = rm -f BIN = server @@ -10,8 +10,11 @@ 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 +stream : stream.c + $(CXX) $(FLAGS) -o stream stream.c $(LIB) + +intertest : interferometer.c + $(CXX) $(FLAGS) -o intertest interferometer.c $(LIB) $(BIN) : $(OBJ)