IZP/Cviko4_1/Makefile

13 lines
263 B
Makefile
Raw Permalink Normal View History

2024-10-10 17:13:14 +02: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
main: main.c
$(CC) $(CFLAGS) -O0 ./*.c -o "$@"
run: main
./main $(ARGS)
clean:
rm -f main main-*