From 959ba83bf55edbb72cd3a4f4a3edf3fab2ea613f Mon Sep 17 00:00:00 2001 From: lemon Date: Sun, 14 Sep 2025 10:12:06 +0200 Subject: make clean, .gitignore object files --- .gitignore | 2 ++ Makefile | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3