IZP/Cviko2_2/Makefile

14 lines
284 B
Makefile
Raw Permalink Normal View History

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