local testing updates
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1,2 +1,4 @@
|
|||||||
*.log
|
*.log
|
||||||
build
|
build
|
||||||
|
ke
|
||||||
|
*.txt
|
||||||
8
Makefile
8
Makefile
@@ -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
15
test.txt.bak
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
hello
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
world it is me
|
||||||
|
but I am not me
|
||||||
Reference in New Issue
Block a user