From d5629128f182126ccfac8daa5d4299e13a2b3a2a Mon Sep 17 00:00:00 2001 From: vx-clutch Date: Sun, 7 Sep 2025 17:44:49 -0400 Subject: [PATCH] update target name --- Makefile | 4 ++-- tools/Cleanup | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index ba09373..b4b261b 100644 --- a/Makefile +++ b/Makefile @@ -20,7 +20,7 @@ build: mkdir -p build/obj build/obj/%.o: src/%.c config.mak - $(CC) $(CFLAGS) -Iinclude -c $< -o $@ + $(CC) $(CFLAGS) -DCOMMIT=$(shell git rev-list --count --all) -Iinclude -c $< -o $@ $(YAIT): $(YAIT_OBJS) $(CC) $(CFLAGS) -Iinclude -DCOMMIT=$(shell git rev-list --count --all) $^ -o $@ @@ -37,7 +37,7 @@ clean: $(RM) -r bin $(RM) -r build -dist-clean: clean +distclean: clean $(RM) config.mak .PHONY: all clean dist-clean install uninstall build diff --git a/tools/Cleanup b/tools/Cleanup index 1e0ae9b..53e9f96 100755 --- a/tools/Cleanup +++ b/tools/Cleanup @@ -16,6 +16,6 @@ fi sh ./tools/format || fatal Could not run './tools/format' rm -rf .cache || fatal Could not run 'rm -rf .cache' rm -f compile_commands.json || fatal Could not run 'rm -f compile_commands.json' -make dist-clean || fatal Could not run 'make dist-clean' +make distclean || fatal Could not run 'make dist-clean' echo done.