summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSon Ho2024-03-11 17:47:59 +0100
committerSon Ho2024-03-11 17:47:59 +0100
commit74dcc7a12f6100d56e38c7aefb131f41c9fe9b52 (patch)
tree526bf50a8da0f1baab5fca5f38301e5eb7d21432 /Makefile
parentc33a9807cf6aa21b2364449ee756ebf93de19eca (diff)
Update the Makefile to automatically reformat the code
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 8b9c8392..880bf83e 100644
--- a/Makefile
+++ b/Makefile
@@ -49,13 +49,17 @@ SUBDIR :=
# The rules
####################################
+# Build the compiler, after formatting the code
+.PHONY: build
+build: format build-dev
+
# Build the project, test it and verify the generated files
.PHONY: build-tests-verify
build-tests-verify: build tests verify
-# Build the project
-.PHONY: build
-build: build-bin build-lib build-bin-dir doc
+# Build the project, without formatting the code
+.PHONY: build-dev
+build-dev: build-bin build-lib build-bin-dir doc
.PHONY: build-bin
build-bin: