commit c07f58b36f225695b8f38a44af83192d80d460f5
parent 36440fedf7a1810050ee29c45dcf772cdeda6d27
Author: sin <sin@2f30.org>
Date: Fri, 9 May 2014 17:20:52 +0100
Simplify Makefile
Diffstat:
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/Makefile b/Makefile
@@ -3,13 +3,10 @@ VER = 0.0
SRC = debug.c lexer.c parser.c repl.c util.c
OBJ = ${SRC:.c=.o}
-CC = gcc
+CC = cc
-INCS = -I/usr/include
-LIBS = -L/usr/lib
-
-CFLAGS = -Wall -Wextra -g ${INCS}
-LDFLAGS = ${LIBS}
+CFLAGS = -Wall -Wextra -g
+LDFLAGS =
$(BIN): ${OBJ}
${CC} ${CFLAGS} ${LDFLAGS} -o $@ ${OBJ}