Add basic jQuery & flot GUI
[matches/MCTX3420.git] / server / Makefile
1 # Makefile for server software
2 CXX = gcc
3 FLAGS = -std=c99 -Wall -Werror -pedantic -g
4 LIB = -lpthread -lfcgi -lssl -lcrypto
5 OBJ = log.o sensor.o fastcgi.o thread.o main.o
6 RM = rm -f
7
8 BIN = server
9
10 all : $(BIN) stream
11
12 stream : stream.c
13         $(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 
14
15
16 $(BIN) : $(OBJ)
17         $(CXX) $(FLAGS) -o $(BIN) $(OBJ) $(LIB)
18
19
20 %.o : %.c
21         $(CXX) $(FLAGS) -c $<
22
23
24
25 clean :
26         $(RM) $(BIN)
27         $(RM) *.o
28
29 clean_full: #cleans up all backup files
30         $(RM) $(BIN) $(OBJ) $(LINKOBJ)
31         $(RM) *.*~
32         $(RM) *~
33
34
35         

UCC git Repository :: git.ucc.asn.au