git.ucc.asn.au
/
matches
/
MCTX3420.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add sensors, actuators, PWM code
[matches/MCTX3420.git]
/
server
/
Makefile
diff --git
a/server/Makefile
b/server/Makefile
index
ef834a1
..
72d37de
100644
(file)
--- a/
server/Makefile
+++ b/
server/Makefile
@@
-1,11
+1,17
@@
# Makefile for server software
CXX = gcc
FLAGS = -std=c99 -Wall -Werror -pedantic -g
# Makefile for server software
CXX = gcc
FLAGS = -std=c99 -Wall -Werror -pedantic -g
-LIB = -l
pthread -lfcgi -lssl -lcrypto
-OBJ = log.o sensor.o fastcgi.o thread.o main.o
+LIB = -l
fcgi -lssl -lcrypto -lpthread -lm
+OBJ = log.o
control.o
sensor.o fastcgi.o thread.o main.o
RM = rm -f
BIN = server
RM = rm -f
BIN = server
+BIN2 = stream
+
+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
$(BIN) : $(OBJ)
$(BIN) : $(OBJ)
@@
-18,11
+24,11
@@
$(BIN) : $(OBJ)
clean :
clean :
- $(RM) $(BIN)
+ $(RM) $(BIN)
$(BIN2)
$(RM) *.o
clean_full: #cleans up all backup files
$(RM) *.o
clean_full: #cleans up all backup files
- $(RM) $(BIN) $(OBJ) $(LINKOBJ)
+ $(RM) $(BIN) $(
BIN2) $(
OBJ) $(LINKOBJ)
$(RM) *.*~
$(RM) *~
$(RM) *.*~
$(RM) *~
UCC
git Repository :: git.ucc.asn.au