aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2025-09-14 10:12:06 +0200
committerlemon <lsof@mailbox.org>2025-09-14 10:12:11 +0200
commit959ba83bf55edbb72cd3a4f4a3edf3fab2ea613f (patch)
tree115047625be96014d30869803c8d386d892f5496
parent2676caa4209d1a81fbb4076d87da699f681d14e2 (diff)
make clean, .gitignore object files
-rw-r--r--.gitignore2
-rw-r--r--Makefile2
2 files changed, 3 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 0b47906..ac09e84 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,5 @@ obj/
compile_commands.json
.cache/
.gdb_history
+*.o
+a.out
diff --git a/Makefile b/Makefile
index 603ae7a..d4a46f3 100644
--- a/Makefile
+++ b/Makefile
@@ -22,7 +22,7 @@ obj/%.o: %.c common.h
$(CC) $(CFLAGS) -MMD -MP -MT $@ -MF obj/$*.d -c -o $@ $<
clean:
- $(RM) -r obj/ $(OUT)
+ $(RM) -r obj/ $(OUT) *.o a.out
.PHONY: clean