local testing updates

This commit is contained in:
2025-11-23 19:15:19 -08:00
parent 0110f82705
commit 2019ec10ce
3 changed files with 23 additions and 2 deletions

2
.gitignore vendored
View File

@@ -1,2 +1,4 @@
*.log *.log
build build
ke
*.txt

View File

@@ -8,10 +8,14 @@ CFLAGS += -fsanitize=address -fno-omit-frame-pointer
LDFLAGS := -fsanitize=address LDFLAGS := -fsanitize=address
all: $(TARGET) all: $(TARGET) test.txt
$(TARGET): main.c $(TARGET): main.c
$(CC) $(CFLAGS) -o $(TARGET) $(LDFLAGS) main.c $(CC) $(CFLAGS) -o $(TARGET) $(LDFLAGS) main.c
clean: clean:
rm -f $(TARGET) rm -f $(TARGET)
.PHONY: test.txt
test.txt:
cp test.txt.bak $@

15
test.txt.bak Normal file
View File

@@ -0,0 +1,15 @@
hello
world it is me
but I am not me