From 419e021d3db3758dd17daef925ec47f2861f4026 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Fri, 26 Apr 2024 16:43:22 +0300 Subject: cleanup makefiles --- Makefile | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 8315a08..d31f655 100644 --- a/Makefile +++ b/Makefile @@ -2,16 +2,6 @@ all: setup $(MAKE) -f scripts/makefile -# this kicks all unrecognised targets to the client script. -# note that trying to compile individual files, e.g. -# -# make kernel.elf -# -# will not work, you would need -# -# make -f scripts/makefile kernel.elf -# -# instead .DEFAULT: setup $(MAKE) -f scripts/makefile $< @@ -24,7 +14,6 @@ setup: POSTHASTE_SOURCES := deps/lightening/lightening/lightening.c CLEANUP := build deps.mk posthaste -CLEANUP_CMD := include src/source.mk @@ -33,11 +22,6 @@ format: find src include -iname '*.[ch]' |\ xargs uncrustify -c uncrustify.conf --no-backup -F - -.PHONY: license -license: - find src include -iname '*.[ch]' |\ - xargs ./scripts/license - .PHONY: docs docs: find src include -iname '*.[ch]' -not -path */gen/* |\ @@ -50,13 +34,9 @@ RM = rm clean: $(RM) -rf $(CLEANUP) -.PHONY: clean_run -clean_run: - $(CLEANUP_CMD) - .PHONY: clean_docs clean_docs: $(RM) -rf docs/output .PHONY: clean_all -clean_all: clean clean_run clean_docs +clean_all: clean clean_docs -- cgit v1.2.3