12 lines
271 B
Makefile
12 lines
271 B
Makefile
all: main
|
|
|
|
CC = clang
|
|
override CFLAGS += -std=c11 -Wall -Wextra -Wno-unused-variable -Wno-unused-parameter -Wno-unused-result -Wno-unknown-pragmas -pedantic -lm --debug
|
|
|
|
main: main.c
|
|
$(CC) $(CFLAGS) -O0 ./*.c -o "$@"
|
|
run: main
|
|
./main $(ARGS)
|
|
|
|
clean:
|
|
rm -f main main-*
|