--- a/parser/calc/Makefile
+++ b/parser/calc/Makefile
@@ -1,17 +1,21 @@
-CC=gcc
-LD=ld
-YACC=bison -y
-FLEX=flex
-CFLAGS=-Wall -O2 -ansi -D_XOPEN_SOURCE=500
-LDFLAGS=
-INCLUDE=include
-OBJECTS=main.o parser.o lexer.o
-TARGET=calc
+ CC = gcc
+ LD = ld
+ YACC = bison -y
+ FLEX = flex
+ CFLAGS = -Wall -O2 -ansi -D_XOPEN_SOURCE=500
+ LDFLAGS =
+ INCLUDE = -Iinclude
+
+OBJECTS = main.o
+OBJECTS += parser.o
+OBJECTS += lexer.o
+
+TARGET = calc
.SUFFIXES: .c .y .l
.c.o:
- $(CC) -c $(CFLAGS) -I$(INCLUDE) $(CONFIG) $<
+ $(CC) -c $(CFLAGS) $(INCLUDE) $(CONFIG) $<
.y.c:
$(YACC) -d $< -o $@