IZP/Cviko2_2/Makefile
2024-09-26 22:20:42 +02:00

13 lines
284 B
Makefile

all: main
CC = gcc
override CFLAGS += -Wall -Wextra -Wno-unused-variable -Wno-unused-parameter -Wno-unused-result -Wno-unknown-pragmas -pedantic -lm
main: main.c
$(CC) $(CFLAGS) -O1 ./*.c -o "$@"
main-debug: main.c
$(CC) $(CFLAGS) -O1 -g ./*.c -o "$@"
clean:
rm -f main main-*