commit d5629128f182126ccfac8daa5d4299e13a2b3a2a
parent 787a4fce61b81ed8b8f25320e8d58842b2d852d0
Author: vx-clutch <[email protected]>
Date: Sun, 7 Sep 2025 17:44:49 -0400
update target name
Diffstat:
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git 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
@@ -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.