1 # Makefile for server software
3 FLAGS = -std=c99 -Wall -pedantic -g -I/usr/include/opencv -I/usr/include/opencv2/highgui -L/usr/lib
4 LIB = -lfcgi -lssl -lcrypto -lpthread -lm -lopencv_highgui -lopencv_core -lopencv_ml -lopencv_imgproc
5 OBJ = log.o control.o data.o fastcgi.o main.o sensor.o actuator.o
14 $(CXX) $(FLAGS) -o stream stream.c $(LIB)
16 intertest : interferometer.c
17 $(CXX) $(FLAGS) -o intertest interferometer.c $(LIB)
21 $(CXX) $(FLAGS) -o $(BIN) $(OBJ) $(LIB)
33 clean_full: #cleans up all backup files
34 $(RM) $(BIN) $(BIN2) $(OBJ) $(LINKOBJ)