IZP/Cviko2_1/Makefile

14 lines
284 B
Makefile
Raw Normal View History

2024-09-26 22:20:05 +02:00
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-*