]> git.alsa-project.org Git - tinycompress.git/commitdiff
makefile.linux: delete as no longer necessary/used
authorQais Yousef <qais.yousef@imgtec.com>
Tue, 5 May 2015 10:21:07 +0000 (11:21 +0100)
committerVinod Koul <vinod.koul@intel.com>
Wed, 6 May 2015 06:18:03 +0000 (11:48 +0530)
Now autotools takes care of generating Makefiles.

Signed-off-by: Qais Yousef <qais.yousef@imgtec.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
makefile.linux [deleted file]

diff --git a/makefile.linux b/makefile.linux
deleted file mode 100644 (file)
index c4dab6d..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-LIB = libtinycompress
-VER = 0.1
-LIBSRC = compress.c
-PLAYBIN = cplay
-RECBIN = crec
-PLAYSRC = cplay.c utils.c
-RECSRC = crec.c utils.c
-LIBOBJ = ${LIBSRC:.c=.o}
-PLAYOBJ = ${PLAYSRC:.c=.o}
-RECOBJ = ${RECSRC:.c=.o}
-
-CROSS_COMPILE ?=
-CC ?= ${CROSS_COMPILE}gcc
-
-CFLAGS += -std=c99 -Wall -Wextra -Wunused -DVERSION=\"${VER}\" -I./include
-LDFLAGS += -L. -ltinycompress
-LIBLDFLAGS = -lasound
-
-all: libtinycompress cplay crec
-
-$(LIB): ${LIBOBJ}
-       @echo "  LD     "$@
-       @${CC} ${CFLAGS} -shared -Wl,-soname,$@.so -o $@.so ${LIBOBJ} ${LIBLDFLAGS}
-
-$(PLAYBIN): ${PLAYOBJ} ${LIB}
-       @echo "  LD     "$@
-       @${CC} ${CFLAGS} -o $@ ${PLAYOBJ} ${LDFLAGS}
-
-$(RECBIN): ${RECOBJ} ${LIB}
-       @echo "  LD     "$@
-       @${CC} ${CFLAGS} -o $@ ${RECOBJ} ${LDFLAGS}
-
-%.o: %.c
-       @echo "  CC     "$<
-       @${CC} ${CFLAGS} -c -fPIC -o $@ $<
-
-clean:
-       @rm -rf ${BIN} ${PLAYOBJ} ${RECOBJ} ${LIB}.so ${LIBOBJ}
-
-
-.PHONY: all clean