From 2019ec10ce9bcc0bd02ec8d54be1d51569877be9 Mon Sep 17 00:00:00 2001 From: Kyle Isom Date: Sun, 23 Nov 2025 19:15:19 -0800 Subject: [PATCH] local testing updates --- .gitignore | 2 ++ Makefile | 8 ++++++-- test.txt.bak | 15 +++++++++++++++ 3 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 test.txt.bak diff --git a/.gitignore b/.gitignore index a312d93..352d244 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ *.log build +ke +*.txt \ No newline at end of file diff --git a/Makefile b/Makefile index bf2837c..9060ab3 100644 --- a/Makefile +++ b/Makefile @@ -8,10 +8,14 @@ CFLAGS += -fsanitize=address -fno-omit-frame-pointer LDFLAGS := -fsanitize=address -all: $(TARGET) +all: $(TARGET) test.txt $(TARGET): main.c $(CC) $(CFLAGS) -o $(TARGET) $(LDFLAGS) main.c clean: - rm -f $(TARGET) \ No newline at end of file + rm -f $(TARGET) + +.PHONY: test.txt +test.txt: + cp test.txt.bak $@ \ No newline at end of file diff --git a/test.txt.bak b/test.txt.bak new file mode 100644 index 0000000..1b031cd --- /dev/null +++ b/test.txt.bak @@ -0,0 +1,15 @@ +hello + + + + + + + + + + + + +world it is me + but I am not me