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 -lldap
5 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
15 $(CXX) $(FLAGS) -o $(BIN) $(OBJ) $(LIB)
27 clean_full: #cleans up all backup files
28 $(RM) $(BIN) $(BIN2) $(OBJ) $(LINKOBJ)