IZP/Cviko9_2/Makefile

13 lines
271 B
Makefile
Raw Normal View History

2024-11-21 17:14:54 +01:00
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-*