diff options
author | Kimplul <kimi.h.kuparinen@gmail.com> | 2024-04-26 16:43:22 +0300 |
---|---|---|
committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2024-04-26 16:43:22 +0300 |
commit | 419e021d3db3758dd17daef925ec47f2861f4026 (patch) | |
tree | ba330739d3ef33def97d6de7ebb8f8749157063b /Makefile | |
parent | b3ff589dbd97f6057a03bedc7df8ccca7bd3662f (diff) | |
download | posthaste-419e021d3db3758dd17daef925ec47f2861f4026.tar.gz posthaste-419e021d3db3758dd17daef925ec47f2861f4026.zip |
cleanup makefiles
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 22 |
1 files changed, 1 insertions, 21 deletions
@@ -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 |