diff options
Diffstat (limited to 'compiler/Makefile')
-rw-r--r-- | compiler/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/compiler/Makefile b/compiler/Makefile index f44d5e4..a4485c4 100644 --- a/compiler/Makefile +++ b/compiler/Makefile @@ -1,13 +1,13 @@ -CFLAGS=-g +CFLAGS=-Wall -DEPS=lex.h syntax.h error.h print.h parse.h log.h eval.h -OBJ=fuspelc.o lex.o syntax.o error.o print.o parse.o log.o eval.o +DEPS=lex.h syntax.h error.h print.h parse.h log.h eval.h mem.h +OBJ=fuspelc.o lex.o syntax.o error.o print.o parse.o log.o eval.o mem.o EXE=fuspelc all: $(EXE) $(EXE): $(OBJ) - gcc -o $@ $^ $(CFLAGS) + $(CC) -o $@ $^ $(CFLAGS) %.o: %.c $(DEPS) $(CC) -c -o $@ $< $(CFLAGS) |