-
Notifications
You must be signed in to change notification settings - Fork 238
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
git-svn-id: http://svn.code.sf.net/p/h264bitstream/code/trunk@26 bc2f0a9b-661e-0410-ac89-ff65b7b8b7c4
- Loading branch information
aizvorski
committed
Feb 11, 2012
1 parent
91691c0
commit ebf37e8
Showing
7 changed files
with
1,292 additions
and
856 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,40 @@ | ||
VERSION = 0.1.7 | ||
VERSION = 0.1.8 | ||
|
||
INCLUDES = | ||
INCLUDES = -I../common | ||
LIBS = | ||
|
||
CC = gcc | ||
CFLAGS += -std=c99 -pedantic -Wall -W -Wshadow -Wwrite-strings -Wno-unused -g $(INCLUDES) | ||
CFLAGS += -std=c99 -Wall -W -Wshadow -Wwrite-strings -Wno-unused -g -O3 $(INCLUDES) | ||
|
||
LD = gcc | ||
LDFLAGS += $(LIBS) | ||
|
||
AR = ar | ||
ARFLAGS = rsc | ||
|
||
BINARIES = h264_analyze | ||
|
||
all: libh264bitstream.a h264_analyze | ||
all: libh264bitstream.a $(BINARIES) | ||
|
||
|
||
h264_analyze: h264_analyze.c libh264bitstream.a | ||
$(CC) $(CFLAGS) -c -o h264_analyze.o h264_analyze.c | ||
$(LD) $(LDFLAGS) -o h264_analyze h264_analyze.o -L. -lm -lh264bitstream | ||
h264_analyze: h264_analyze.o libh264bitstream.a | ||
$(LD) $(LDFLAGS) -o h264_analyze h264_analyze.o -L. -lh264bitstream -lm | ||
|
||
|
||
libh264bitstream.a: h264_stream.c h264_stream.h h264_sei.c h264_sei.h bs.c bs.h | ||
$(CC) $(CFLAGS) -c -o bs.o bs.c | ||
libh264bitstream.a: h264_stream.c h264_stream.h h264_sei.c h264_sei.h | ||
$(CC) $(CFLAGS) -c -o h264_stream.o h264_stream.c | ||
$(CC) $(CFLAGS) -c -o h264_sei.o h264_sei.c | ||
$(AR) $(ARFLAGS) libh264bitstream.a h264_stream.o h264_sei.o bs.o | ||
$(AR) $(ARFLAGS) libh264bitstream.a h264_stream.o h264_sei.o | ||
|
||
|
||
clean: | ||
rm -f *.o libh264bitstream.a h264_analyze | ||
rm -f *.o libh264bitstream.a $(BINARIES) | ||
|
||
dox: h264_stream.c h264_stream.h bs.c bs.h Doxyfile | ||
doxygen Doxyfile | ||
|
||
dist: clean | ||
mkdir h264bitstream-$(VERSION) | ||
tar c --files-from=MANIFEST -f tmp.tar ; cd h264bitstream-$(VERSION) ; tar xf ../tmp.tar ; rm -f ../tmp.tar | ||
tar czf ../h264bitstream-$(VERSION).tar.gz h264bitstream-$(VERSION) | ||
rm -rf h264bitstream-$(VERSION) | ||
|
||
|
||
dox: h264_stream.c h264_stream.h bs.c bs.h Doxyfile | ||
doxygen Doxyfile |
Oops, something went wrong.