From 66c38f5e670bfea98bf20d60d9138c278aca51c0 Mon Sep 17 00:00:00 2001 From: Ico Doornekamp Date: Mon, 13 Jun 2016 23:19:33 +0200 Subject: [PATCH] Added .gitignore --- .gitignore | 8 ++++++++ Makefile | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..12a5861 --- /dev/null +++ b/.gitignore @@ -0,0 +1,8 @@ +go +*.d +*.o +*.swp +*.swo +zforth +zforth.save +.zforth.hist diff --git a/Makefile b/Makefile index fb7c2a0..e54da63 100644 --- a/Makefile +++ b/Makefile @@ -16,8 +16,8 @@ LDFLAGS += -lreadline -lm $(BIN): $(OBJS) $(CC) $(LDFLAGS) -o $@ $(OBJS) -%.o: %.c Makefile zforth.h - $(CC) $(CFLAGS) -MMD -c $< +%.o: %.c Makefile src/zforth.h + $(CC) $(CFLAGS) -MMD -c $< -o $@ clean: rm -f $(BIN) $(OBJS) $(DEPS)