forked from akash-akya/vix
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
50 lines (38 loc) · 1.14 KB
/
Makefile
File metadata and controls
50 lines (38 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Silence directory change messages
MAKEFLAGS += --no-print-directory
# Default target
all: compile
# Main compilation target
compile:
@$(MAKE) -C c_src all
# Mix compilation (called by elixir_make)
calling_from_make:
mix compile
# Clean targets
clean:
@$(MAKE) -C c_src clean
clean_precompiled_libvips:
@$(MAKE) -C c_src clean_precompiled_libvips
deep_clean: clean_precompiled_libvips
# Development targets
test:
mix test
format:
mix format
lint:
mix credo
dialyz:
mix dialyxir
# Help target
help:
@echo "Available targets:"
@echo " all/compile - Build the project"
@echo " clean - Clean build artifacts"
@echo " clean_precompiled_libvips - Clean precompiled libvips"
@echo " deep_clean - Full clean including precompiled libs"
@echo " test - Run tests"
@echo " format - Format Elixir code"
@echo " lint - Run Credo linter"
@echo " dialyz - Run Dialyzer type checking"
@echo " help - Show this help"
.PHONY: all compile clean clean_precompiled_libvips deep_clean calling_from_make test format lint dialyz help