summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2012-11-17 12:10:54 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2012-11-17 12:10:54 +0100
commit5c1259a7d7e8566e980a344f9352d7ddccee4a77 (patch)
treefde86cfe1260d7da0e3cc88e2fffc15166c2196e /src
parent206f8fd36fe120beb8358ea2cf1e8164fe661df3 (diff)
downloadadvtime-5c1259a7d7e8566e980a344f9352d7ddccee4a77.tar.gz
advtime-5c1259a7d7e8566e980a344f9352d7ddccee4a77.tar.bz2
advtime-5c1259a7d7e8566e980a344f9352d7ddccee4a77.zip
Makefile move DEBUG=0 to CFLAGS
Diffstat (limited to 'src')
-rw-r--r--src/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/Makefile b/src/Makefile
index a6124e6..89d374e 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,13 +1,12 @@
CFLAGS=-ggdb -std=c99 -Wall -Wstrict-prototypes -Wmissing-prototypes \
- -Wno-unused-parameter
+ -Wno-unused-parameter -DDEBUG=0
LIBAV_DECODE_FLAGS=`pkg-config --libs --cflags libavformat libavcodec \
libavutil libswscale`
all: advtime decode_frame frame_to_pgm
advtime: advtime.c video_decode.c util.c
- gcc $(CFLAGS) $(LIBAV_DECODE_FLAGS) -DDEBUG=0 advtime.c video_decode.c \
- util.c -o $@
+ gcc $(CFLAGS) $(LIBAV_DECODE_FLAGS) advtime.c video_decode.c util.c -o$@
decode_frame: decode_frame.c
gcc $(CFLAGS) $(LIBAV_DECODE_FLAGS) decode_frame.c -o $@