diff --git a/Makefile b/Makefile index 45b72f7..7cca081 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,6 @@ -.PHONY: run test run clean CC=gcc -CFLAGS=-Wall -Wpedantic -Werror -std=c99 +CFLAGS=-Wall -pedantic -Werror -std=c99 OBJ=main.o lexer.o token.o node.o @@ -11,10 +10,7 @@ run: readme ./readme readme: ${OBJ} - ${CC} ${CFLAGS} -o $@ $^ - -#token.o: token.h token.c -# ${CC} ${CFLAGS} -o $@ $< + ${CC} ${CFLAGS} -o $@ ${OBJ} .c.o: ${CC} ${CFLAGS} -c -o $@ $<