Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Mathis Rosenhauer
libaec
Commits
a2164899
Commit
a2164899
authored
Sep 05, 2012
by
Luis Kornblueh
Committed by
Thomas Jahns
Feb 19, 2013
Browse files
Added automake/autoconf preliminary version.
parent
4ba62304
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Makefile
deleted
100644 → 0
View file @
4ba62304
CC
=
gcc
#CFLAGS = -g -pg -lc -O0 -Wall -fprofile-arcs -ftest-coverage
CFLAGS
=
-g
-O3
-Wall
-std
=
c99
CXXFLAGS
=
-O3
-Wall
OBJS
=
aee.o aee_accessors.o aed.o sz_compat.o
.PHONY
:
all clean check
all
:
libae.a
encode
:
encode.o libae.a
$(CC)
$(CFLAGS)
-o
$@
$<
-L
.
-lae
decode
:
decode.o libae.a
$(CC)
$(CFLAGS)
-o
$@
$<
-L
.
-lae
test_szcomp
:
test_szcomp.o libae.a
$(CC)
$(CFLAGS)
-o
$@
$<
-L
.
-lae
pnoise
:
pnoise.o
$(CXX)
-o
$@
$<
-lnoise
libae.a
:
$(OBJS)
$(AR)
$(ARFLAGS)
$@
$(OBJS)
-
@
(
$(RANLIB)
$@
||
true
)
>
/dev/null 2>&1
aed.o
:
libae.h
aee.o
:
aee_accessors.h aee.h libae.h
aee_accessors.o
:
aee.h libae.h
sz_compat.o
:
libae.h
install
:
libae.a
mkdir
-p
../lib ../include
ln
-sfT
../src/szlib.h ../include/szlib.h
ln
-sfT
../src/libae.h ../include/libae.h
ln
-sfT
../src/libae.a ../lib/libsz.a
clean
:
rm
-f
$(OBJS)
encode.o decode.o
\
encode decode libae.a
\
test_szcomp test_szcomp.o
\
../data/test.ae ../data/test
\
*
.gcno
*
.gcda
*
.gcov gmon.out
\
pnoise.o pnoise
check
:
encode decode test_szcomp
./encode
-c
-b4
-B32
-R128
-J8
../data/example_data
>
../data/test.aee
./decode
-b4
-B32
-R128
-J8
../data/test.aee
cmp ../data/test ../data/example_data
./encode
-c
-s
-b4
-B32
-R128
-J8
../data/example_data
>
../data/test.aee
./decode
-s
-b4
-B32
-R128
-J8
../data/test.aee
cmp ../data/test ../data/example_data
./encode
-c
-b
512
-B8
-R128
-J8
../data/example_data
>
../data/test.aee
./decode
-b
512
-B8
-R128
-J8
../data/test.aee
cmp ../data/test ../data/example_data
./test_szcomp 65536 ../data/example_data_16
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment