update target name
This commit is contained in:
4
Makefile
4
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
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user