[ispykee] r3 committed - Correct libjpeg handling options and add more compile warnings.

3 views
Skip to first unread message

isp...@googlecode.com

unread,
Sep 6, 2010, 8:30:12 AM9/6/10
to isp...@googlegroups.com
Revision: 3
Author: pe...@hungry.com
Date: Mon Sep 6 05:29:57 2010
Log: Correct libjpeg handling options and add more compile warnings.
http://code.google.com/p/ispykee/source/detail?r=3

Modified:
/trunk/Makefile

=======================================
--- /trunk/Makefile Wed Sep 1 14:49:09 2010
+++ /trunk/Makefile Mon Sep 6 05:29:57 2010
@@ -2,7 +2,7 @@
CC=gcc

# use this if linking to libjpeg
-LIBJPEG=../jpeg-6b/libjpeg.a
+LIBJPEG=-L../jpeg-6b -ljpeg
CFLAGS=-I../jpeg-6b -DHAVELIBJPEG
MOTION=motion.o lowres.o
LDFLAGS=-lm
@@ -19,6 +19,11 @@
#CFLAGS+=-DWINSOCK
#LDFLAGS+=-lws2_32

+# Enable debug into in binary and compiler warnings
+CFLAGS += -Wall -Wextra -g
+
+all: spykee
+
spykee: spykee.o $(MOTION) $(AUDIO)
$(CC) -o spykee spykee.o $(MOTION) $(AUDIO) $(LIBJPEG) $(LDFLAGS)

Reply all
Reply to author
Forward
0 new messages