Added automake/autoconf preliminary version.
authorLuis Kornblueh <luis.kornblueh@zmaw.de>
Wed, 5 Sep 2012 08:01:00 +0000 (10:01 +0200)
committerThomas Jahns <jahns@dkrz.de>
Tue, 19 Feb 2013 10:32:01 +0000 (11:32 +0100)
src/Makefile [deleted file]

diff --git a/src/Makefile b/src/Makefile
deleted file mode 100644 (file)
index 0b2a5f3..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-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