diff mbox

[TINYCOMPRESS,v3,3/7] makefile.linux: delete as no longer necessary/used

Message ID 1430821271-15624-4-git-send-email-qais.yousef@imgtec.com (mailing list archive)
State New, archived
Headers show

Commit Message

Qais Yousef May 5, 2015, 10:21 a.m. UTC
Now autotools takes care of generating Makefiles.

Signed-off-by: Qais Yousef <qais.yousef@imgtec.com>
---
 makefile.linux | 41 -----------------------------------------
 1 file changed, 41 deletions(-)
 delete mode 100644 makefile.linux
diff mbox

Patch

diff --git a/makefile.linux b/makefile.linux
deleted file mode 100644
index c4dab6d3b7d5..000000000000
--- a/makefile.linux
+++ /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