12 lines
263 B
Makefile
12 lines
263 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
|
|
|
|
main: main.c
|
|
$(CC) $(CFLAGS) -O0 ./*.c -o "$@"
|
|
run: main
|
|
./main $(ARGS)
|
|
|
|
clean:
|
|
rm -f main main-*
|