summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2024-04-05 17:34:49 -0300
committerEuAndreh <eu@euandre.org>2024-04-05 17:34:49 -0300
commitfabb658a759a97c8bc2d679eaa2d7e7b13d50e0e (patch)
tree1bb093b04978d2728a9790edbc043ede02854c77
parentMakefile: Fix name of binary in "install" target (diff)
downloadpindaiba-fabb658a759a97c8bc2d679eaa2d7e7b13d50e0e.tar.gz
pindaiba-fabb658a759a97c8bc2d679eaa2d7e7b13d50e0e.tar.xz
Makefile: remove "help" target and improve indentation
-rw-r--r--Makefile17
1 files 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: