git.ucc.asn.au
/
matches
/
MCTX3420.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
744b902
)
Fix linkage issues
author
Jeremy Tan
<
[email protected]
>
Mon, 2 Sep 2013 00:58:04 +0000
(08:58 +0800)
committer
Jeremy Tan
<
[email protected]
>
Mon, 2 Sep 2013 00:58:04 +0000
(08:58 +0800)
server/Makefile
patch
|
blob
|
history
diff --git
a/server/Makefile
b/server/Makefile
index
f754c47
..
e8d0972
100644
(file)
--- a/
server/Makefile
+++ b/
server/Makefile
@@
-1,7
+1,7
@@
# 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
+LIB = -l
fcgi -lssl -lcrypto -lpthread
OBJ = log.o control.o sensor.o fastcgi.o thread.o main.o
RM = rm -f
OBJ = log.o control.o sensor.o fastcgi.o thread.o main.o
RM = rm -f
@@
-10,7
+10,7
@@
BIN = server
all : $(BIN) stream
stream : stream.c
all : $(BIN) stream
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
+ $(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)
UCC
git Repository :: git.ucc.asn.au