commit 7e07abfea784a2b38f14dc0ff7a427f9edc35feb
parent 2976d86b597067a0eb1e3eeed0fd5b17375ddfd8
Author: sin <sin@2f30.org>
Date: Fri, 1 Mar 2013 12:34:15 +0000
Strip Makefile, removing redundant stuff
Do some stylistic changes as well.
Diffstat:
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
@@ -4,8 +4,6 @@ SRC = memzap.c mem.c utils.c md5.c linux_ops.c
OBJ = ${SRC:.c=.o}
PREFIX = /usr
-MANDIR = /man/man1
-MANDST = ${PREFIX}${MANDIR}
CC = gcc
@@ -15,7 +13,7 @@ LIBS = -L/usr/local/lib
CFLAGS += -g -O3 -Wall -Wextra -Wunused -DVERSION=\"${VER}\" ${INCS}
LDFLAGS +=
-$(BIN): ${OBJ}
+${BIN}: ${OBJ}
${CC} ${CFLAGS} ${LDFLAGS} -o $@ ${OBJ}
%.o: %.c