update target name

This commit is contained in:
2025-09-07 17:44:49 -04:00
parent 787a4fce61
commit d5629128f1
2 changed files with 3 additions and 3 deletions

View File

@@ -20,7 +20,7 @@ build:
mkdir -p build/obj mkdir -p build/obj
build/obj/%.o: src/%.c config.mak 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) $(YAIT): $(YAIT_OBJS)
$(CC) $(CFLAGS) -Iinclude -DCOMMIT=$(shell git rev-list --count --all) $^ -o $@ $(CC) $(CFLAGS) -Iinclude -DCOMMIT=$(shell git rev-list --count --all) $^ -o $@
@@ -37,7 +37,7 @@ clean:
$(RM) -r bin $(RM) -r bin
$(RM) -r build $(RM) -r build
dist-clean: clean distclean: clean
$(RM) config.mak $(RM) config.mak
.PHONY: all clean dist-clean install uninstall build .PHONY: all clean dist-clean install uninstall build

View File

@@ -16,6 +16,6 @@ fi
sh ./tools/format || fatal Could not run './tools/format' sh ./tools/format || fatal Could not run './tools/format'
rm -rf .cache || fatal Could not run 'rm -rf .cache' rm -rf .cache || fatal Could not run 'rm -rf .cache'
rm -f compile_commands.json || fatal Could not run 'rm -f compile_commands.json' 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. echo done.