From fabb658a759a97c8bc2d679eaa2d7e7b13d50e0e Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Fri, 5 Apr 2024 17:34:49 -0300 Subject: Makefile: remove "help" target and improve indentation --- Makefile | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/Makefile b/Makefile index ec0b8d3..6ebcbc7 100644 --- a/Makefile +++ b/Makefile @@ -100,9 +100,9 @@ all: $(derived-assets) lib$(NAME).a: $(sources.o) $(NAME).a: $(sources.o) src/main.o $(fuzz.bin): lib$(NAME).a -src/config.h: Makefile deps.mk -$(sources.o) $(tests.o): Makefile deps.mk src/config.h -src/main.o tests/slurp.o: Makefile deps.mk src/config.h +src/config.h: Makefile deps.mk +$(sources.o) $(tests.o) src/main.o: Makefile deps.mk src/config.h +tests/slurp.o: Makefile deps.mk src/config.h tests/slurp.o: tests/slurp.h @@ -150,9 +150,9 @@ clean: ## ensures that all installable artifacts are crafted beforehand. install: all mkdir -p \ - '$(DESTDIR)$(BINDIR)' \ - '$(DESTDIR)$(LIBDIR)' \ - '$(DESTDIR)$(SRCDIR)' \ + '$(DESTDIR)$(BINDIR)' \ + '$(DESTDIR)$(LIBDIR)' \ + '$(DESTDIR)$(SRCDIR)' \ '$(DESTDIR)$(INCLUDEDIR)' \ '$(DESTDIR)$(INCLUDEDIR)'/$(NAME)/ cp $(NAME).bin '$(DESTDIR)$(BINDIR)'/$(NAME) @@ -181,9 +181,4 @@ uninstall: done -## Show this help. -help: - sh tools/makehelp.sh < Makefile - - ALWAYS: -- cgit v1.2.3