ARGS=-O3
all: build test
build:
zig cc main.c $(ARGS) -o main.out
test:
./main.out
make
# will do the first entry so "make all"
make all
# will do first "make build" then "make test"
make build
# will do the zig compilation
make test
# will launch the program
make ARGS=
make ARGS=-O2